01-10-2017
A couple of comments:
- The error is still trapped (detected and reported), the message just happen not to be displayed on the terminal.
- Should a shell syntax error had existed in your command line, it would still have been displayed on the terminal. Redirections are performed after the command is parsed, syntax errors are detected during the parsing.
This User Gave Thanks to jlliagre For This Post:
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i need to get rid of lilo's splash screen.
i've heard that you can edit your /etc/lilo.conf and add this line:
<b>append="splash=0"</b>
anyway, i did that and i still have a splash screen. any idea why that didn't work, or what is another way to disable the splash screen?
okay,
-nydel (1 Reply)
Discussion started by: nydel
1 Replies
2. Programming
So basically what im trying to do is ...
Open file, read that file, than try to find ..
We or we and replace them with I, but not replace the cases where words contain We or we, such as Went, went, etc
a and replace them with the, but not replace the cases where words contain a, such as... (1 Reply)
Discussion started by: bconnor
1 Replies
3. Programming
Hey guys, first of all I'd like to say Hi to everyone. I am new here and this is my first post.
I have a question about some C stuff. I am in Computer Science and I have an assignment for a UNIX Applications course. It is really complicated, however.
We're using the C language for this and... (1 Reply)
Discussion started by: V4D3R
1 Replies
4. UNIX for Advanced & Expert Users
hi,
i need to clear data off a DOA backup drive.
i try this, but just get a file {} in . and no change on the backup drive.
bash shell
find /mnt/usbbackup -xdev -type f -exec echo `date` > {} \;
any ideas? thanks. :) (1 Reply)
Discussion started by: drewnichols
1 Replies
5. UNIX for Dummies Questions & Answers
Hi everyone
Just a couple of quick questions if I may.
Can I ask what is meant by "flavours"?? I've come across it many times in the forums and I'm guessing that it is a variery of either Linux or UNIX (I know nil about either) which has developed but not really got a clue.
... (1 Reply)
Discussion started by: Tiramisu
1 Replies
6. Shell Programming and Scripting
Example script:
find mydir -type f -exec echo {}>aaa \; -exec echo {}>bbb \;The two paths go the the bbb file, while there should be one of them on each file. How should I do it to get it working? (2 Replies)
Discussion started by: Tribe
2 Replies
getty(8) System Manager's Manual getty(8)
NAME
getty - Sets the terminal type, modes, speed, and line discipline
SYNOPSIS
getty [-h] [-t time] line speed_label terminal line_discipline
getty -c file
FLAGS
Hold the carrier during the initialization phase;do not hang up. Set the time period to the specified number of seconds. Drop the line
after that amount of time if nothing is typed. Check the specified gettydefs file.
DESCRIPTION
The getty command sets and manages terminals by setting up speed, terminal flags, and the line discipline. If command flags are provided,
getty adapts the system to those specifications. getty prints the login prompt, waits for the user to enter a username, and invokes the
login command.
getty uses the /etc/gettydefs file for terminal information. The line argument refers to the device name in /dev. The speed_label argu-
ment is a pointer into the /etc/gettydefs file where the definitions for speed and other associated flags are located. The terminal argu-
ment specifies the name of the terminal type. The line_discipline argument specifies the name of the line discipline.
The second syntax for the getty command provides a check option. When getty is invoked with the -c option and filename argument, it checks
the specified file in the same way it scans gettydefs for terminal information, then prints the results to standard output.
By default, the getty daemon writes the login string specified in the message field of the /etc/gettydefs file to any terminal spawned or
respawned from the /etc/inittab file. If an /etc/issue file present, getty reads the file and writes its contents to the terminal prior to
writing the login string specified in the /etc/gettydefs file.
FILES
Specifies the command path. Specifies the terminal line database file. Specifies the path name for the issue identification file
RELATED INFORMATION
Commands: init(8), login(1), stty(1)
Files: issue(4). delim off
getty(8)