Discussion Forum : Operating System
Question - Code 1:
The following 3 commands are executed at the shell in
order
grep main a.c > grepresult &
wc-l < grepresult &
rm grepresult &
Code 2: The following command is executed
grep main a.c | wc-l


Options:
A .  Code 1 is correct
B .  Code 2 is correct
C .  Both are correct
D .  Both have some pitfalls
Answer: Option C



Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *