Chapte 7
Can the redirection shell metacharacter be used to redirect between a command and another command
False
Can you combine redirection and piping together?
False
When performing a pipe, do you need to have spaces around the | metacharacter?
False
The file descriptor stderr is represented by the number
2
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 le descriptor.
False
Aliases are shortcuts to commands stored in special variables that can be created and viewed using the alias command.
True
When redirecting both standard output and standard error to a file, does using the same file name for both result in a loss of data?
True
You can use the sed command to remove unwanted lines of text.
True
The ____ escape sequence represents a form feed.
\f
Most configuration files on Linux systems are delimited using ____ characters
colon
The ____ command could be used to view the contents of the environment variable that represents the BASH shell prompt.
echo $PS1
If you have ____ permission to a shell script, you can execute the shell script like any other executable program on the system.
read and execute
To see a list of all exported environment and user-defined variables in the shell, you can use the ____ command.
set