Quick Answer: How Do You Access a Directory in Linux?
Contents to Navigate into the Root Directory, Use “Cd /” to Navigate to Your Home Directory, Use “Cd” or “Cd ~” to Navigate up One Directory Level, Use “Cd. .”...
Contents
To navigate into the root directory, use “cd /” To navigate to your home directory, use “cd” or “cd ~” To navigate up one directory level, use “cd ..” To navigate to the previous directory (or back), use “cd -”
What is directory command in Linux?
dir command in Linux is used to list the contents of a directory.
Must Read
How do I open a directory in Unix?
Directories
- mkdir dirname — make a new directory.
- cd dirname — change directory. You basically ‘go’ to another directory, and you will see the files in that directory when you do ‘ls’. …
- pwd — tells you where you currently are.