03-14-2012
You still have to input something to read at the <, otherwise how would you get an output at > ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can Any One let me know abut the use on "lint" in UNIX...... (1 Reply)
Discussion started by: kumar_saurabh
1 Replies
2. UNIX for Dummies Questions & Answers
whats the purpose of the following script? who could run it? To what is the script refering that exceeds 75%? The mailbox?
What does sed 's/%//' do? (1 Reply)
Discussion started by: vrn
1 Replies
3. Shell Programming and Scripting
Can any body kindly tell me what is the purpose of 2>&1 in the following commands.
nohup ./append_import.sh 1 > import1.out 2>&1 < /dev/null &
nohup ./append_import.sh 2 > import2.out 2>&1 < /dev/null & (1 Reply)
Discussion started by: mmunir
1 Replies
4. Filesystems, Disks and Memory
Hi
Please explain what is dsi log? Does it stores details related to
File systems? (0 Replies)
Discussion started by: student2010
0 Replies
5. UNIX for Dummies Questions & Answers
while we editing the cron at the end of the cron what is the purpose of giving 2 >&1 (4 Replies)
Discussion started by: senmak
4 Replies
6. UNIX for Dummies Questions & Answers
What is the purpose of /etc/cron.d? (3 Replies)
Discussion started by: proactiveaditya
3 Replies
7. UNIX for Advanced & Expert Users
Hi All
Can anybody tell me what is the purpose of inv in the below command.
ftp -inv $RFTPSERVER /temp/te.txt << EOF
and << its stands for what..
Thanks (1 Reply)
Discussion started by: raju4u
1 Replies
8. UNIX for Dummies Questions & Answers
please explain what is the exact purpose of hard link and soft link
which is best one
thanks in advance
regards,
surendra thota (3 Replies)
Discussion started by: tsurendra
3 Replies
9. Solaris
I'm new to Solaris and Linux and I was wondering if someone could explain to me in simple terms what the process Bind is on Solaris 10? Thanks, in advance. (6 Replies)
Discussion started by: jastanle84
6 Replies
10. AIX
Hi,
Anyone, please explain the purpose of /dev/ipldevice in AIX .. it would be a problem if there is no /dev/ipldevice while booting.
Regards,
Siva (1 Reply)
Discussion started by: ksgnathan
1 Replies
line(1) User Commands line(1)
NAME
line - read one line
SYNOPSIS
line
DESCRIPTION
The line utility copies one line (up to and including a new-line) from the standard input and writes it on the standard output. It returns
an exit status of 1 on EOF and always prints at least a new-line. It is often used within shell files to read from the user's terminal.
EXIT STATUS
Exit status is:
0 Successful completion
>0 End-of-file on input.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
sh(1), read(2), attributes(5)
SunOS 5.10 1 Feb 1995 line(1)