which of the following command lines would you use?

In order to append the output of ls to a file called bazz, which of the following command lines would you use?

In order to append the output of ls to a file called bazz, which of the following command lines would you use?

A.
ls > bazz

B.
ls >& bazz

C.
ls &> bazz

D.
ls >> bazz

Explanation:

Common Redirection Operator: Command >file Redirect the Standard Output of command into
file. Command >>file Append the Standard Output of command into file. Command 2>file a
Redirect the error message to file. Command >>;file Append the error message to file.



Leave a Reply 0

Your email address will not be published. Required fields are marked *