- Learning Linux might feel scary at first, but once you master a few essential commands, you’ll be navigating like a pro. In this tutorial, I’ll walk you through 10 must-know Linux commands with real examples and outputs you can try on your own terminal.
Let's get started.
- pwd – Print Working Directory This shows the full path of the folder you are currently in.
👉 This command is helpful when you get lost in multiple directories.
- ls – List Files Lists the files and folders in your current location.
Options:
-
ls -l
→ shows details (permissions, size, date). -
ls -a
→ shows hidden files (those starting with a dot.
).
- cd – Change Directory Use this to move into another folder.
-
cd ..
→ go back one folder. -
cd ~
→ jump back to your home directory.
- mkdir – Make Directory Creates a new folder.
Top comments (0)