PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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