Shared Flashcard Set

Details

Linux+ - unit5 - Bo Rothwell
Linux+ - unit5 - Bo Rothwell
9
Computer Science
Professional
02/21/2012

Additional Computer Science Flashcards

 


 

Cards

Term
The term for a variable that is passed into other programs from the shell is ______.
Definition
environment
Term
The ____ variable is used to set your primary prompt.
Definition
PS1
Term
The ____ variable holds the value of the directory that you were previously in.
Definition
OLDPWD
Term
Why does the following command fail: $TEST="abc"

A. The $TEST variable already exists
B. The $TEST variable is read only
C. When you assign a variable, you can't use the $ character.
D. The $TEST variable already contains a value.
Definition
C
Term
The ____ variable holds the value of the number of previous commands to store in memory.
Definition
HISTSIZE
Term
The ____ variable holds the value of the directories to search when attempting to execute a command?
Definition
PATH
Term
To display all variables in your shell, you can execute either the _____ or ____ command.
Definition
set or env
Term
What command line will convert the local variable $EDITOR into an environment variable (provide the complete command line)?
Definition
export EDITOR
Term
What command line will remove a variable called $TEST (provide the complete command line)?
Definition
unset TEST
Supporting users have an ad free experience!