DEV Community

Cover image for 🐧 Top 10 Linux Commands Every Beginner Must Know
Mubarak
Mubarak

Posted on

🐧 Top 10 Linux Commands Every Beginner Must Know

  1. 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.

  1. 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.


  1. 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 .).

  1. cd – Change Directory Use this to move into another folder.

  • cd .. → go back one folder.
  • cd ~ → jump back to your home directory.

  1. mkdir – Make Directory Creates a new folder.

Top comments (0)