Unix Interview Questions and Answers
Question: What does the command ?$ls | wc ?l > file1? do?Answer: ls becomes the input to wc which counts the number of lines it receives as input and instead of displaying this count , the value is stored in file1. |
Is it helpful?
Yes
No
Most helpful rated by users:
- How are devices represented in UNIX?
- What is 'inode'?
- What difference between cmp and diff commands?
- Explain the steps that a shell follows while processing a command.
- Brief about the directory representation in UNIX