In this article we will talk about navigation commands in the terminal. Before proceeding to the navigation commands in the terminal, let’s talk about directories in Linux. There is no C: drive, D: and others.
No matter how many partitions you break your disk, the system will:
“/” – root directory
Then there are all the other directories that are used for something.
The /home directory holds the user directories, in which, as a rule, to perform most actions without the administrator password. Your home directory is located at /home/your_username.
The /mnt and /media the directories are mounted in different physical disks, USB flash drives and other media.
In the /media directory mounted drives, flash memory drives, that is in this directory it can create folder with name of your electronic media.
For more details, see the What is the purpose of the folders in the directory structure of Linux Mint?
Navigation commands in the terminal.
When you open terminal from the menu, then you are in your home directory:
The symbol ~ (tilde) means the home directory of the current user.
To find out the current directory (display the full path to the current directory) in the terminal just type the command:
Start by specifying the cd command, then the path where you need to go.
Here is the jump in the /home directory: