InterviewSolution
Saved Bookmarks
| 1. |
We can redirect the error message to file named newfile using __________ command.(a) catfooerrorfile(b) catfoo >errorfile(c) cat errorfile>foo(d) cat foo 2>errorfileThe 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 |
|
Answer» Right answer is (d) cat foo 2>errorfile |
|