Working on the command line · Question 5 of 12
Which command removes the variable TMPDIR completely from the running shell?
1 answer is correct. Easy Created with AI
Show answer
Answer
- C unset TMPDIR
Explanation
unset deletes variables and, with -f, functions too. set -u, by contrast, makes unset variables trigger an error.