Linux Changing Directories Flashcards
(7 cards)
True or False | regardless of your user name using ~ at the end of cd will always send you back to your own home directory
True
True or false | the following command will send you to sue home directory? cd ~sue
True |because the metacharacter ~ appends the user to the change
What is a relative pathname in Linux?
A: It’s the pathname of a target file or directory relative to your current directory in the tree.
Q: How do you specify a directory below your current directory using a relative pathname?
A: Refer to the directory by name without starting the pathname with a / character.
Q: How do you refer to the parent directory (one step closer to the root) in a relative path?
A: Use two dots: ..
Q: What does one dot (.) refer to in a relative pathname?
A: It refers to the current directory.