Additional Shortcut Tips
Serial No |
Symbol |
Symbol Name |
Function |
---|---|---|---|
1 |
~ |
tilde |
shortcut to your home base |
2 |
. |
dot |
the folder you’re in right now |
3 |
.. |
double dot |
the folder one level above |
1. ~ (tilde) – shortcut in Linux
This symbol is like a shortcut to your home base. No matter where you are, typing tilde will always bring you back to your home folder.
cd ~
The active directory was updated to home.
2. . (dot) – shortcut in Linux
This simply means the folder you’re in right now. If you’re already inside a folder and want to work with something there, you can use the dot symbol.
3. .. (double dot) – shortcut in Linux
This means the folder one level above the one you’re in, like going up a floor in a building. If you’re deep inside folders and want to go back a step, this will take you to the bigger folder that contains the one you’re in.
cd ..
Observation
A. The current directory is visible, and we execute the command.
B. The active directory is updated.
4. tree – seeing the bigger picture in Linux
This command isn’t exactly for moving around, but it helps you see all the folders at once. It shows how all the folders are connected, like a family tree, so you can understand the bigger picture.
tree
Observation
All the files and folders of the active directory is listed.
File System Navigation Commands in Linux
Linux offers an alternative to the usual windows and icons. The terminal might seem different at first, relying on text commands instead of a mouse. It might seem different at first, relying on text commands instead of a mouse. But this simplicity holds immense power.
In this article, you’ll be going through a demonstration of Navigation Commands in Linux which will help in quickly navigating in the Linux file system. Let’s go through them, but before that have a short idea of the difference between Linux and Windows file systems.
File System Navigation Commands in Linux
- Difference between Windows and Linux File System
- Commonly Used File System Navigation Commands
- 1. pwd (print working directory)
- 2. ls (list files and directories)
- 3. cd (change directory)
- 4. mkdir (make directory)
- 5. rmdir (remove empty directory)
- 6. cp (copy)
- 7. mv (move)
- Additional Shortcut Tips
Contact Us