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
Answer: C
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
Answer: C