Unix

1:

 The command echo welcome > /dev / tty

A. Echoes welcome in all the terminals that are switched on.
B. Echoes welcome in all the terminals that are logged on.
C. Echoes welcome only in the terminal in which it is run.
D. Both (a) and (c)
 

Answer : D

Explanation :
/dev/tty is a synonym for the terminal you are currently using.
If echo welcome >/dev/tty, is a part of a shell. welcome will be echoed in the terminal in which the script is run, doesn't matter which terminal it is.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.