Using filesystem shortcuts a user would type _____ to return to the previous directory.
A. cd ..
B. cd ~
C. cd $HOME
D. cd -
Answer: D
.. is a shortcut to the parent directory.
~ is a shortcut to the user's home directory.
$HOME is a variable that holds the value of the user's home directory.
No comments:
Post a Comment