Basic Linux Commands You Should Know

An organized list of essential Linux commands with their examples. You can use it to start learning Linux command line or use it as reference for future usage.

Abhishek Prakash
Abhishek Prakash

Table of Contents

The real power of Linux lies in the terminal. With the correct Linux command, you can tweak, configure or change any aspect of your system.

Learning Linux has become synonymous to learning Linux commands and rightly so. Because you can use Linux entirely through commands and do so very effectively.

On Linux Handbook, you can find numerous commands explained with examples. But they are scattered across the website and it won’t be easy for you to find it.

Essential Linux commands

This is why I created this Linux commands list that is more structured and organized. I have grouped the common Linux commands in categories. Even if you are absolutely new to Linux, you can start learning the commands by following their examples.

Basic file and directory operations

File viewing commands

To view the contents of a file in Linux, you can use:

Know the file properties

Every file and directory has attributes like size, ownership, permissions etc. These Linux commands allow you to see the file attributes and change them.

File text manipulation

Manipulating the text of a file to get what you want. Here are the commands:

User account management

Creating and managing users is an important job that you should not take lightly.

Group management

Group management is another important task for a sysadmin.

Manage and monitor your system

Keep an eye on your system usage with these commands:

Basic networking commands

Here are some basic commands related to networking:

Join the conversation.