-
Book Overview & Buying
-
Table Of Contents
Linux Essentials - Second Edition
By :
If you want to save a program’s output for future reference, you can redirect it to a file. You can also redirect the input to a program from a file. Although input redirection may sound strange, some programs rely on this feature to enable them to process data, such as raw text files fed through a program that searches the text for patterns. In addition to redirecting output to files or input from files, you can pass one program’s output to another one as its input. A related technique involves the xargs command, which enables you to generate command-line options from files or other programs’ output.

Redirection is achieved with the help of redirection operators, which are short strings that appear after the command and its arguments. Table 8.6
Standard Output This is for normal program messages.
Change the font size
Change margin width
Change background colour