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
The question was posed to me by my school principal while I was bunking the class.
This interesting question is from Redirection and Pipes in division The Shell of Unix