Multiple Choice Questions
Which of these commands adds another value to the PATH variable?
- PATH=/home/user/bin
- echo $PATH=/home/user/bin
- $PATH=/home/user/bin
- PATH=$PATH:/home/user/bin
Which of these commands lists the value(s) assigned to the PATH variable?
- set
- ls $PATH
- echo $PATH
- $PATH
Sorry for being a bit late on this guys, life decided to be a bit unreasonable this weekend. I hope the diagram covers the basic concept of environment variables. I would have gone further to explain PATH, but I thought that would make the diagram too big.