1.

Apart from its use in redirection, /dev/tty can also be used as an argument to some commands.(a) True(b) FalseI have been asked this question by my college professor while I was bunking the class.My query is from Redirection and Pipes topic in chapter The Shell of Unix

Answer»

The correct option is (a) True

To EXPLAIN I would SAY: /dev/tty can be used as an argument to some UNIX commands. Because the TERMINAL is also a file we can USE the device name /dev/tty as an argument to some commands like tee. For example,



Discussion

No Comment Found

Related InterviewSolutions