9-12 Flashcards
Which two commands can set shell features on and off?
Set
Shopt
What file sets the default shell for each user?
/etc/passwd
Which set of characters can perform arithmetic operations in the shell?
(())
What environmentL variable sets the format/looks of the shell?
PS1
TF: variable $VAR=”Fred Flintstone” is a valid method
False
T/F: The $1 and $2 variables are examples of system environmental variables.
False
T/F: The shell and and or boolean operators have equal precedence and are processed from left to right.
True
Select two commands that can display various shell variable contents.
Echo
Show
Ls
Env
Echo
Env
T/F: The BASH shell is based on the Bourne Shell from AT&T
True
_______ are simile to shell scripts, but are stored in RAM making them faster.
Functions
T/F: The BASH shell temrinal uses the vi editor terminal control and same shortcut keys.
False
Linux environmental variables are typically always ________.
Capitalized
What does the PATH environmental variable contain in the Linux environment?
Binary file search locations
A(n) ______ is the most common method of automatically adding command options to existing commands.
Alias
T/F: Both & and | are boolean
False
What characters will redirect standard command error output to another location?
2>
Select all the shells ininux that can be set on a users login information.
All
Variable rules
All of the above
What set of characters can be used in shell commands to create, remove, or list a sequence of files
or directories with one command?
{}
braceexpand