We can redirect the error message to file named newfile using __________ command.
A. cat foo errorfile
B. cat foo >errorfile
C. cat errorfile>foo
D. cat foo 2>errorfile
Answer:D
We can redirect the error message to file named newfile using __________ command.
A. cat foo errorfile B. cat foo >errorfile C. cat errorfile>foo D. cat foo 2>errorfile