LPI
101-500 · Question #504
101-500 Question #504: Real Exam Question with Answer & Explanation
Sign in or unlock 101-500 to reveal the answer and full explanation for question #504. The question stem and answer options stay visible for context.
Shells and Shell Scripting
Question
What is true regarding the command ls > files if files does not exist?
Options
- AThe output of ls is printed to the terminal
- Bfiles is created and contains the output of ls
- CAn error message is shown and ls is not executed
- DThe command files is executed and receives the output of ls
- EAny output of ls is discarded
Unlock 101-500 to see the answer
You've previewed enough free 101-500 questions. Unlock 101-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#shell redirection#output redirection#file creation#stdout