Ch 7 Quiz part 2
What two files below are the first two BASH environment files to be executed?
/etc/profile /etc/bashrc
The ____________________ environment variable contains a list of directories to search for executable programs
Path
What two BASH environment variables represent the current working directory, and the absolute pathname of the current shell, respectively?
SHELL PWD
In an if construct, what statements are optional?
else elif
A case construct must be ended by ____________________.
esac
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.
false
Any command that can take standard input and transform it into standard output is called a(n) ____________________ command.
filter
The ____________________ command takes user input from stdin and places it in a variable specified by an argument.
read
Most commands that are run by the shell are run in a separate ____________________, which is created by the current shell.
subshell
You can use the sed command to remove unwanted lines of text.
true