LPI Exam Questions

Which of the following command lines creates or, in cas…

Which of the following command lines creates or, in case it already exists, overwrites a file
called data with the output of ls?

A.
ls 3> data

B.
ls >& data

C.
ls > data

D.
ls >> data