Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
ln linux, when you issue command:
ls existing_file.txt non-existing_file.txt > output.txt 2>&1
the 2>&1, means redirect [...] to [...]
Answer
stderr to stdout
^^ above reads stardard error to standard output

Question
ln linux, when you issue command:
ls existing_file.txt non-existing_file.txt > output.txt 2>&1
the 2>&1, means redirect [...] to [...]
Answer
?

Question
ln linux, when you issue command:
ls existing_file.txt non-existing_file.txt > output.txt 2>&1
the 2>&1, means redirect [...] to [...]
Answer
stderr to stdout
^^ above reads stardard error to standard output
If you want to change selection, open document below and click on "Move attachment"

8. Streams and sed -- The Stream Editor
riptor 1 when you don't specify a file descriptor. Now A contains the stdout output, while the error message has been redirected to the screen. Now try ls existing_file non-existing_file 1>A <span>2>&1 cat A Now A contains both the error message and the normal output. The >& is called a redirection operator. x >& y tells the shell to write pipe x into pipe y. Redirection

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.