Modern technology gives us many things.

Top 15 must-know CLI commands for every Linux user.

17 1,327

A command-line interface (CLI) is a text-based user interface (UI) used to interact with applications and operating systems. In this article, I am going to share with you 15 must-know CLI commands for every Linux user.

You might be new Linux user and you be finding it difficult to use while being in comfort of using GUI based operating system like Windows, and on another hand, you are curious to know new things and wanted to work with commands in Linux.

Before starting the list you must know there are lots of commands out there and you will come across all of them one day but the list below states the commonly used and important commands which every Linux user must know.

  1. ls

If you want to see the list of files on your Linux system, use the ls command. It shows the files /directories in your current directory.

  1. rm

The rm command removes files from the system without confirmation.

  1. mkdir

Directories can be created on a Linux operating system using the mkdir command. This command will create a subdirectory in your present working directory.

  1. cd

The cd command, which stands for “change directory”, is used to change the current directory. Use it to move around within the hierarchy of your file system.

  1. pwd

This command prints the full pathname of the current working directory. To know which directory you are in, you can use the “pwd” command. It gives us the absolute path, which means the path that starts from the root.

  1. touch

The touch command is used to create a file. It can be anything, from an empty txt file to an empty zip file.

  1. clear

clear command clears the screen of terminal and get you back to current directory.

  1. cat

The cat command is used to perform three related functions with regard to text files displaying them, combining copies of them and creating new ones.

  1. more

more is a filter for paging through text one screen at a time.

  1. find

find can be used to find files and directories and perform subsequent operations on them. It supports searching by file, folder, name, creation date, modification date, owner and permissions.

  1. apt-get

apt-get is a shell command, which installs and maintains programs and other collections of files (data, documentation, etc.) in the form of packages.

must-know CLI commands

  1. wget

wget stands for “web get”. It is a command-line utility which downloads files over a network.

wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies.

must-know CLI commands

  1. sudo

It stands for “super user do!”, which allows a user with proper permissions to execute a command as another user, such as the superuser.

must-know CLI commands

  1. ifconfig

ifconfig stands for “interface configuration”. It is used to view and change the configuration of the network interfaces on your system.

must-know CLI commands

  1. man

man is used to learning more about a command or a particular tool and how to use it. It shows the manual pages of the command. If you need any help in understanding any of commands just add man command before it and you will get in manual i.e full information on command.

So, that’s all folks. I hoped you like my article. I will keep publishing more content about Linux and Security. Please show your love and share the article on your network. Also, leave a comment. Thank you. If you liked this article then you should also check out the following:

  1. 9 Reasons iPhone X is Worth the $1000 Price Tag
  2. Must watch cyber security predictions for 2018
  3. Best Free Password Managers For Teams
  4. Deep Definition of a Computer Virus By Cohen – Part 1
  5. Best 4 Simple Tips to Safeguard Your Network
  1. grok says

    I believe ifconfig is in the process of being obsoleted by the ip command.

    1. Animesh Shaw says

      Hi Grok,

      Thank you for your insight. We are very well aware of the fact that ip will eventually replace ifconfig, but the latter is something which will be around for some time and people are more aware of it. Hence, we wanted to share something that they find easy to use and remember. By the way, have another article underway which describes the ip command with proper usage.


  2. Arun pawar says

    It is a useful to me

    1. Nitish Gidde says

      Glad to here it helped you.
      Hope you like our other articles too.

  3. Vikram Shinde says

    Very nice and useful article mate…. Some commands were comman but some were new and very important ones… Cheers

    1. Animesh Shaw says

      Thank you. Kindly share it in your social network as well.

  4. Malhar says

    Very nice work brother….found it very very helpful 🙏

    1. Animesh Shaw says

      Thank you for your feedback on our Article. Kindly share it in your network.

  5. Rahesha Mulla says

    Useful article for Linux beginners. Specific commands are compiled here and presented with expected brief description.

    1. Animesh Shaw says

      Thanks. Kindly share it across in your social network.

    2. Nitish Gidde says

      Thanx means a lot.

  6. Aishwarya Patil says

    Very useful commands and easylum to understand!

    1. Animesh Shaw says

      Thanks. Kindly share it across in your social network.

    2. Nitish Gidde says

      Thanks!Do follow us regularly for more articles.

  7. Amar Arage says

    Its very useful to me…

    1. Nitish Gidde says

      Dont forget to check out other articles and share them!!

  8. Amar Arage says

    Good..its helping

Leave A Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.