Anonymous user menu

Gate1997_3.7

I/O redirection
(a) implies changing the name of a file
(b) can be employed to use an existing file as input file for a program
(c) implies connection 2 programs through a pipe
(d) None of the above

Answer

Discuss

1Comment
Amit Pal @amitpal101
25 Sep 2016 11:48 pm

Ans (b)
cat abc > grep "unix" ( example of I/O redirection)
here content of file abc is passed to the grep program.