Because Standard Error and Standard Output represent the results of a command and Standard Input represents the input required for a command, only Standard Error and Standard Output can be redirected to/from a file.
True or False?

Respuesta :

Because Standard Error and Standard Output represent the results of a command and Standard Input represents the input required for a command, only Standard Error and Standard Output can be redirected to/from a file is true.

True

Explanation:

In computer as standard error are displayed in such as monitor (standard output device). If any error is displayed in monitor can be redirected or rerouted to file for later stage analysis.

In DOS operating system or windows operating system in dos mode, if end user execute a command or bat file he or she can redirect or rerouted to out file by using  “>” symbol

For example In DOS mode

   Dir > a.txt

In above command directory list of current folder or current drive is redirected or routed to A.txt

If end user opens a.txt by using notepad, he or she list the files with details in a.txt.