Podcast
Questions and Answers
Examples of ______ Paths: You can use a relative path to reference files or directories based on your current location.
Examples of ______ Paths: You can use a relative path to reference files or directories based on your current location.
Relative
if you are in the /var/log directory,./logfile.txt is a ______ path to a file in the same directory.
if you are in the /var/log directory,./logfile.txt is a ______ path to a file in the same directory.
relative
Practice writing ______ paths by starting at the root directory and navigating to various locations in the file system.
Practice writing ______ paths by starting at the root directory and navigating to various locations in the file system.
absolute
cd stands for ______ and is used to navigate to the directory you specify as an argument.
cd stands for ______ and is used to navigate to the directory you specify as an argument.
Signup and view all the answers
If you ever get confused about your current location, you can run ______. This command stands for 'print working directory' and will display the absolute path of your current directory.
If you ever get confused about your current location, you can run ______. This command stands for 'print working directory' and will display the absolute path of your current directory.
Signup and view all the answers
An absolute path starts from the ______ directory ('/'). It is a complete path and always begins with a forward slash ('/').
An absolute path starts from the ______ directory ('/'). It is a complete path and always begins with a forward slash ('/').
Signup and view all the answers