Q1. Which of the following commands redirects the output of ls to standard error?
A.ls >-1
B. ls <<ERR
C. ls >&2
D. ls >>2
E. ls |error
Correct Answer: C
Q2. Which of the following are valid stream redirection operators within Bash? (Choose two.)
A.<
B. #>
C. %>
D. >>>
E. 2>&1
Correct Answer: A, E
Q3. Which of the following commands list all files and directories within the /tmp/ directory and its subdirectories which are owned by the user root? (Choose two.)
A.find /tmp --user root -print
B. find --path /tmp --uid root
C. find /tmp --uid root -print
D. find /tmp --user root
E. find --path /tmp --user root -print
Correct Answer: A, E
Q4. Which of the following are valid stream redirection operators within Bash? (Choose two.)
A.<
B. #>
C. %>
D. >>>
E. 2>&1
Correct Answer: A, E
$ 39
Reviews
There are no reviews yet.