The main reasons for the success of pipes are
A. | The availability of many filter programs |
B. | UNIX treats devices as files |
C. | It provides a 2-way communication channel |
D. | Both (a) and (b) |
Option: D Explanation : Click on Discuss to view users comments. |
Which of the following are not filter programs?
A. | date |
B. | sort |
C. | cat |
D. | grep |
Option: A Explanation : Click on Discuss to view users comments. |
Redirection in pipes can be achieved by using
A. | > |
B. | >> |
C. | tee |
D. | lpr |
Option: C Explanation : Click on Discuss to view users comments. |
Choose the correct statements.
A. | The symbols > and | are both processed by shell |
B. | > can be used to direct output to a named file |
C. | | can be used to direct output to programs |
D. | All of above |
Option: D Explanation : Click on Discuss to view users comments. |
The command who sort - file1 > file2
A. | Results in an error |
B. | Sorts the contents of file1 and puts it in file2 |
C. | Both (a) and (b) |
D. | None of the above |
Option: D Explanation : Click on Discuss to view users comments. |