Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Colorful message is displayed in the terminal but not in the log file Post 303035486 by babunp114525 on Saturday 25th of May 2019 11:33:35 PM
Old 05-26-2019
Attached the latest log_output.png file.
Colorful message is displayed in the terminal but not in the log file-log_outputpng
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Fishing out error message within a log file

Hi all, i have a log file that captures success or failure messges when i run a daily job. here is a sample of my log. 20060312 start successful successful failure failure 20060312 end i need to write a subroutine that opens up the log daily after my job completes to examine the log... (2 Replies)
Discussion started by: new2ss
2 Replies

2. Shell Programming and Scripting

sending message to terminal

hi all i have script #!/bin/bash cd /usr3/prod grep ERROR /usr3/prod/ind.log > /usr3/prod/ind_err.log if test -s /usr3/prod/ind_err.log then echo "error during process" else echo "process succeed" fi i want that this message(echo) will be display one time at the top of the screen... (5 Replies)
Discussion started by: naamas03
5 Replies

3. Shell Programming and Scripting

Send-file /var/log/message

Hello All i need Shell Script to send /var/log/message or another if he have or grep this file to have some info like PID or value (e.g like NFS mount - stop ) to some body in my System Thanks for Advanced (2 Replies)
Discussion started by: Hosam
2 Replies

4. UNIX Desktop Questions & Answers

Output terminal sessions to screen and log file

I would like to use a terminal session to ssh to switches and routers. I need to capture data while logged into switches to a file I can email for troubleshooting. I use termial to log into Cisco switch, run the sh tech command, and then sent the output to cisco. Is there a way to run a... (4 Replies)
Discussion started by: tdelliott
4 Replies

5. Shell Programming and Scripting

How to display message when starting a terminal

Hello all, I would like a message to be displayed on the shell when someone opens up the terminal - something like a welcome msg with date and time. I know how to do this by running the shell commands but dont know how to display it when a user opens up the terminal? Thanks in advance (27 Replies)
Discussion started by: mrudula009
27 Replies

6. Shell Programming and Scripting

Write a message on specific user terminal

Hi All, Need urgent help!!! Can anyone tellme how can we send a message on specific user terminal and get a response from user in return. Thanks in advance. (3 Replies)
Discussion started by: Sadhana
3 Replies

7. Shell Programming and Scripting

Suppressing a message from being displayed

I have a script which checks for *.txt files in a particular directory and if no files were found then it goes into sleep for 10 secs and looks back for files again and if any files were found then the script does some processing with the files found, which is my requirement too. FILE_EXISTS=`ls... (5 Replies)
Discussion started by: vpv0002
5 Replies

8. Shell Programming and Scripting

Capture all error message in Log file and send the Log file by email

Hi I have a requirement to write a script to capture all errors in a Logfile and send the file in email. If there is any error occurred the subject of email will be ERROR , If there are no error occurred the subject of email will be SUCCESS. So I created a Log file and put the Appropriate... (2 Replies)
Discussion started by: dgmm
2 Replies

9. Shell Programming and Scripting

When trying to open file Message:-Terminal too wide?

Hi, I am trying to open small size file only in vi editor on solaris or Linux machine but it giving message "Terminal too wide" and then I have to come out. As shown below:- -rwxr-x--- 1 rkycadm rkycprd 2445 Sep 12 04:06 $ vi file.txt Terminal too wide :q! ----------... (2 Replies)
Discussion started by: RahulJoshi
2 Replies

10. Filesystems, Disks and Memory

DISK ARRAY PROTECTION SUSPENDED message displayed following disk replacement

Hello, On 4/20/2018, we performed a disk replacement on our IBM 8202 P7 server. After the disk was rebuilt, the SAS Disk Array sissas0 showed a status of degraded. However, the pdisks in the array all show a status of active. We did see a message in errpt. DISK ARRAY PROTECTION SUSPENDED. ... (1 Reply)
Discussion started by: terrya
1 Replies
uugetty(8)						      System Manager's Manual							uugetty(8)

NAME
uugetty - Sets the terminal type, modes, speed, and line. SYNOPSIS
/usr/lib/uucp/uugetty [-h] [-t time] [-r] [-c file] line [speed_label [terminal [line_discipline] ] ] The uugetty utility sets the terminal type, modes, speed, and line discipline. FLAGS
Hold the carrier during the initialization phase; do not hang up. Timeout after time seconds and drop the line if nothing is typed while trying to login. Specifies that uugetty should wait for a character before it displays a login message, thus preventing two uugetty com- mands from looping and allowing the line to be shared by uucico, cu, and tip. Specifies that file should be checked instead of /etc/uuget- tydefs. DESCRIPTION
The uugetty command sets and manages terminals by setting up speed, terminal flags, and the line discipline. If command flags are pro- vided, uugetty adapts the system to those specifications; uugetty prints the login prompt, waits for the user to enter a username, and invokes the login command. The uugetty command provides all the features of the getty command, but also provides support through the -r flag for using the line with the uucico, cu, ct, and tip commands. The line can thereby be used in both directions. The uugetty command enables users to log in, but if the line is free, the uucico, cu, ct, and tip commands can be used for dialing out. The implementation depends on the fact that the uucico, cu, ct, and tip commands create lock files when devices are used. When uugetty first reads characters, the status of the lock file indicates whether the line is being used by uucico, cu, ct, or tip, or by someone trying to log in. The line argument specifies the /dev/entry for the terminal line. It can be entered as a relative pathname or an absolute pathname. The speed_label argument is a pointer into the /etc/uugettydefs file where the definitions for speed and other associated flags are located. If this argument is not specified, uugetty uses the first entry in the file. The terminal argument specifies the name of the terminal type. This argument is used to set the TERM environment variable for the user who logs in from this terminal. The line_discipline argu- ment specifies the name of the line discipline. When the -r flag is used, the user may have to key several carriage returns before the login message is displayed. When uucico attempts to log in, the following login script informs it that several carriage returns may be necessary before the login message is displayed, "" d d d in:--in:login sequence where login sequence is whatever is normally used for the login sequence: An entry for an intelligent modem or direct line that has a uugetty on each end must use the -r flag. The following is an /etc/inittab entry using uugetty on an intelligent modem or direct line: 30:2:respawn:/usr/lib/uucp/uugetty -r -t 60 tty12 1200 FILES
Specifies the command path The terminal line database file. This uses the same format as /etc/gettydefs. File which specifies the ini- tialization processes. Lock files used by uugetty, uucico, cu, ct, and tip to keep other commands from using the same terminal line. RELATED INFORMATION
Commands: uucico(8), getty(8), init(8), ct(1) cu(1), tip(1), login(1), stty(1) Files: gettydefs(4), inittab(4), tty(7) delim off uugetty(8)
All times are GMT -4. The time now is 03:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy