Professional Documents
Culture Documents
Examen Capitulo 8 Respuestas
Examen Capitulo 8 Respuestas
▪ Log files
▪ STDOUT
▪ STDERR*
▪ STDIN
2. A successful command will print output to STDOUT.True or False?
▪ True*
▪ False
3. Which of the following commands will direct error messages to the file, error.log?
(choose one)
▪ ls /root >> error.log
▪ ls /root 2> error.log*
▪ ls /root $> error.log
▪ ls /root > error.log
4. A pipe allows you to…
▪ …send the same input to multiple commands.
▪ …type multiple commands at one prompt. ▪ …send the output of one command to
another.*
▪ …send the output of a command to a file.
5. Channel 2 is:
▪ STDIN
▪ STDALL
▪ STDOUT
▪ STDERR*
6. Which of the following commands will append its output to output.file?
▪ echo Testing > output.file
▪ echo Testing >> output.file*
▪ output.file < echo Testing
▪ echo Testing -> output.file
7. Which command(s) can be used to sort the lines of list.file alphabetically and display it
on the screen? (choose two)