The desirable features of a new shell script you write is that
A. | It should take its input from stdin |
B. | It does some cleaning up operation, on termination |
C. | It should not accept command line arguments |
D. | Both (a) & (b) |
Option: D Explanation : Click on Discuss to view users comments. |
Which of the following shell commands displays the contents of each of the command line arguments one by one
A. | cat $• |
B. | cat "$@" |
C. | Both (a) & (b) |
D. | cat "$•" |
Option: C Explanation : Click on Discuss to view users comments. |
The disadvantage of a pipe is that
A. | It is a one way communication channel |
B. | It dies along with the process that created it |
C. | It can't he shared by unrelated processes |
D. | All of these |
Option: D Explanation : Click on Discuss to view users comments. |