noaa NOAA / NESDIS / National Geophysical Data Center / WDC for SEG, Boulder, Colorado USA noaa
banner
next up previous
Next: Wildcards Up: Getting Started Previous: The UNIX file structure

Redirecting Input and Output

Most UNIX programs spit output to the screen and read input from the keyboard. This is known as ``standard input and output'' or ``standard I/O'' in the following. One of the nicest things about UNIX is the ability to redirect input and output. For example, instead of typing input to a program with the keyboard, it can be read from a file using the symbol <. Output can either be put into a file using the symbol >, appended to the end of a file with >> or used as input to another program with the UNIX pipe facility (|).


For content questions please contact: Lisa Tauxe

Scripps Institution of Oceanography
La Jolla, CA 92093-0220, USA
Phone: (+1.619) 534-6084
Fax: (+1.619) 534-0784
NOAA>NESDIS>NCEI>Geomagnetism