Basic Commands and Simple Shell Scripts 1>: Ab redirect STDOUT operator will only redirect the output sent to the standard output and not to the error message handler >&2: Ab redirect to STDERR operator will redirect the output to the standard error handler >&1:
Ab redirect to STDOUT operator will redirect the output to the standard output handler.
To better understand these, we will go through several examples in this section and the following one.
Let’s get a list of files and put it in a file. First, we list the files in var, using them option to separate entries with commas:
Share with your friends: