Navigation Flashcards
what does command pwd do?
Prints names of current working directory.
what does command cd do?
Changes Directory
what does command ls do?
Lists directory contents
How do windows and Linux organize their files and what does it look like?
Heirarchical directory structure. A tree like pattern of directories.
What is the directory we are standing in called?
Current Working Directory
What directory do you start in when you first login?
Home Directory
Describe how an Absolute Pathname works?
It begins with the root directory and follows the tree branch by branch until the the path to the desired directory or file is completed.
How do relative pathnames work?
They start from the working directory and not the root directory.
what does the . (dot) notation refer to ?
Working Directory
what does the .. notation refer to
The working directory’s parent directory
What does the Shortcut cd do?
Changes the working directory to your home directory
what does the shortcut cd - do?
Changes the working directory to the precious working directory.
What does the shortcut cd ~user_name do?
Changes the working directory to the home directory of that user_name.
What does the shortcut cd ~user_name do?
Changes the working directory to the home directory of that user_name.
What does it mean if there is a period in front of a filename?
That the file is hidden