DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Commands revisited: pipes and redirection

Summary

To put the output of a command into a file command_line > filename
To use a file as input to a command command_line < filename
To join files together cat file1 file2 file3 > newfile
To append one file to another cat file >> logfile
To send a file listing to the printer l | lp

For more information about See
All the topics covered in this chapter ``Working with files and directories''
csh(C), ksh(C), and sh(C)


Previous topic: grep engr employees | sort | lp

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003