Linux Basic Commands
Linux Basic Commands
1) Absolute Path:
• Always starts with a forward slash (/).
• Unambiguous and does not depend on the current working directory.
• Remains the same regardless of where you are in the file system.
Useful when you need to specify the exact location of a file or directory, especially in scripts or
configuration files where the current working directory might change.
2) Relative Path:
• Can use special symbols:
• . (single dot) represents the current directory.
• .. (double dots) represents the parent directory.
They are also useful for making scripts or programs portable, as they do not rely on a fixed
directory structure.
Commands to be covered:
• lsblk -f
• uname -a
• whoami
• pwd
• ls
• tree
• cd (alone will bring u to the ~ home)
• mkdir
• touch
• nano
• cat
• rm -rf
• windows + shift + R
• windows + shift + D (down divide) windows + shift + E (undo)
• history