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

QuestionsCategory: 101-500What is true regarding the command ls > files if files does not exist?
Admin Staff asked 1 year ago
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








Correct Answer: B

This question is in 101-500 exam
For getting Linux Professional Institute LPIC-1 Certificate



Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.