![]() The “ls ~” command will show you the files that are in your home directory. The ls command shows the ‘list’ of the files in your current directory. ![]() Note that pwd stands for “print working directory”. You can use the pwd command to know in which directory you’re located. The ‘-’ symbol with the cd command takes you in back to the previous folder you were in.The title bar will show you the path to the folder and you. A Linux terminal window will open at the folder location. You will see an ‘Open Linux shell here’ option. Hold down the Shift key and right-click in an empty area. The ‘.’ symbol with the cd command helps you in navigating up one directory level: Open File Explorer and go to the folder that you want to open a Linux Shell in.The / symbol with the cd command helps you in directly opening the root folder.Similarly, you can use “cd ~/Desktop” to go to the Desktop. If you want to navigate and go directly to a specific directory at once, you will have to specify the full directory path where you want to go to.įor example, if you want to navgate to applications folder in usr/share folder, run the command “cd /usr/share/applications” to go directly to the /applications subdirectory of /usr/share/. Note that /home/.virtualenvs would not be a normal place to put the. IF HOWEVER, the path you show is correct, then you'll need to cd /home/.virtualenvs to get there. virtualenvs is a sub-directory of /home/daniel. Use “cd -” to navigate to the previous directory or navigate to back. In terminal, if you're currently at your home directory (/home/daniel) then cd.The shortcut for /home/USERNAME in the terminal is the (tilde) character. Use “cd” or “cd ~” to navigate to your home directory. After you have installed Ubuntu, the terminal opens by default to the /home/USERNAME directory where USERNAME is the username you use to login to Ubuntu.Use “cd /” to navigate into the root directory.To navigate or move around the file system you will use various cd commands, such as: ![]() If you are user, then the tilde (~) stands for /home/user The tilde (~) symbol stands for your home directory. Note that when you open a terminal you will be in your home directory. Cd Command: The cd command allows you to change directories.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |