| previous | contents | up | next |
ls -al > listing. You could then append more
listed filenames with ls -al other_directory/ >> listing.
All commands have access to a second file called standard error. As its name implies, it is reserved for error messages. The shells provide resources for redirecting standard error as well.
Both Bourne- and csh-family shells provide facilities to redirect standard output and standard error. A complete treatment of redirection is available in the shell section, as are the specifics of redirection for Bourne-family shells and for csh-family shells.
| previous | contents | up | next |