GATE - 1997 | OS | I/O redirection

GATE - 1997 | OS | I/O redirection
Posted on 01-03-2022

GATE - 1997 [Operating System]

Question:

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

Solution:

Option (B) is Correct.

Redirection is known as capturing output from a file, command, program (or) even code block within a script and sending it as input to another file, command, program (or) script.

 

Thank You