Exam
0
What number represents the stdin file descriptor?
True
Any command that can be executed on the command line can also be placed inside any environment file.
False
Given the syntax command && command, the command on the left of the && construct is executed only if the command on the right of the && construct completed successfully.
<
In order to redirect a file to the standard input of a command, what metacharacter should be used?
True
What command can be used to replace characters in a file sent via Standard Input?
2
What number represents the stderr file descriptor?
wc
Which command can be used to count the number lines, words, and characters in a file?
False
You are limited to using one pipe | metacharacter on the command line to pipe information from one command to another command.
|
Select the metacharacter that can be used to send the standard output of one command to another command as standard input:
awk
The ability to extract, manipulate, and format text using pattern action statements belongs to which command below?
>
The standard output and standard error from a terminal screen within the BASH shell can be redirected to a file on the filesystem using what shell metacharacter, followed by the absolute or relative pathname of the file?
False
To prevent a file from being cleared by the BASH shell and append output to the existing output, you can specify three > metacharacters alongside the file descriptor.
True
You can use the sed command to remove unwanted lines of text.