COMPLETE SYSTEM ADMINISTRATION
QUESTIONS AND ANSWERS PACKAGE
◉ The list of characters on the left are special parameters that are
set and maintained by the Bash shell.
From the list on the left, drag the special parameter to the correct
description on the right.
Answer: The process ID of the last background job. (!)
The position parameters as an array. (@)
The name of the shell or shell script. (0)
The number of positional parameters. (#)
The exit status of the last executed command. (?)
◉ Which of the following commands can you use to delete a
variable?
Answer: unset
◉ You have created the following array in the statearray variable:
declare -a statearray=(Nevada Utah California Arizona Texas)
Which of the following commands will display the phrase Life
elevated - Utah?