Page 1 of 1

What is true regarding the command ls > files if files does not exist?

Posted: Sat Aug 20, 2022 7:48 am
by answerhappygod
What is true regarding the command
ls > files
if files does not exist?

A. The output of ls is printed to the terminal
B. files is created and contains the output of ls
C. An error message is shown and ls is not executed
D. The command files is executed and receives the output of ls
E. Any output of ls is discarded