Last Updated on February 20, 2020 by Admin
Introduction to Linux I Chapter 10 Exam
-
Question ID 545
This stream is the output of a command operating normally:
- stdout
- stderr
- stdin
- stdnorm
-
Question ID 546
Many commands that read text files will also read from this stream:
- pipe
- stdin
- redirect
- input
-
Question ID 547
If you want to overwrite a file by redirecting the output of a command, you can use:
- &
- >
- }
- |
-
Question ID 548
To redirect the errors that are output by a command, you can use:
- @
- 2>
- 2@
- 2&
-
Question ID 549
Two or more commands combined with the “|” between them form a:
- convoy
- caravan
- command line
- pipeline
-
Question ID 550
Which two symbols can effectively redirect stdin to a command?
(choose two)
- >
- !
- |
-
<
-
Question ID 551
If you want to append a file with the normal output of a command, you can use:
- 2>>
- >
- >>
- 1>
-
Question ID 552
To send the normal and error output of a command to a single file, you can use:
- 2>
- >
- 1>
- &>
-
Question ID 910
Which of the following commands will take the standard output of the ls and put it into the /tmp/output.txt file:
- ls 2 | /tmp/output
- ls 2> /tmp/output.txt
- ls > /tmp/output.txt
- ls | /tmp/output.txt
-
Question ID 911
Which of the following commands will take the standard error of the ls command and put it into the /tmp/output.txt file:
- ls 2> /tmp/output.txt
- ls | /tmp/output.txt
- ls 2 | /tmp/output
- ls > /tmp/output.txt