DEV Community

Najiib Jama
Najiib Jama

Posted on

The basics commands of Linux

The terminal

The Linux terminal is a powerful tool that lets you interact with your computer by typing commands.
Unlike using the mouse to click icons, the terminal uses text to perform tasks quickly and efficiently.
Learning basic commands will help you feel comfortable using Linux.

Here are 5 important Linux commands every beginner should know:

ls – Lists files and directories in the current folder.
Example: ls
cd – Stands for "change directory." It lets you move between folders.
Example: cd Documents
pwd – Stands for "print working directory." It shows your current location.
Example: pwd
mkdir – Means "make directory." It creates a new folder.
Example: mkdir new_folder
rm – Removes files or folders.
Example (file): rm file.txt
Example (folder): rm -r folder_name.

Conclusion

These five commands are the foundation of using the Linux terminal. Practice them often, and you’ll become more confident. More commands will come as you explore further — one step at a time!

Top comments (0)