Essential Linux Commands You Should Know

Essential Linux Commands You Should Know - PC - Relying on what your distribution is, you’ve probably seen only one or another, however both are serviceable

Linux Commands For BASH and User Environment

1.su / sudo

Su and sudo are two ways of accomplishing the same thing – running a command as some other consumer. Relying on what your distribution is, you’ve probably seen only one or the other, however both are serviceable. The distinction is that su switches you to a unique consumer, whilst sudo only runs the command with any other consumer’s privileges.


In contrast to time, date does precisely what you’d anticipate it – it prints out the date (and time) to the standard output. The output itself can be formatted for your specification, and it takes the whole thing from the usual stuff like year, month, day,12 or 24 hour layout to nanoseconds and the ISO week range. as an example, date +”%j %V” could come up with the day of the 12 months followed via the ISO week number.


This commands creates or changes aliases to other commands. What this indicates is, you can provide names to new commands (or groupings of commands) or “rename” existing ones. It’s very on hand for abbreviating lengthy strings of instructions you find your self the use of often, or giving more memorable names to stuff you don’t use that frequently and feature troubles memorizing.


Outputs some basic system information. By itself, it won’t give you anything very useful (“Linux”), but call it with -a, and it will gives kernel information, in addition to tell you the hostname and processor architecture.


Tells you how long has the system been running. Not exactly essential information, but good for arrogant rights and the occasional compute-things-relative-to-how-long-I’ve-been-at-the-computer situation.


You might be wondering why or how would this ever be useful, but even outside BASH scripts, it has its uses: for example, if you’d like to shutdown the computer after a certain period of time, or even as a makeshift alarm.

Linux Commands For User Management

7.useradd, userdel, usermod

These commands permit you do add, delete and modify user accounts. It’s not very likely you’ll be using these frequently, particularly if you’re the single user of your system, and even if not, you might opt for doing this via a GUI, but it’s good to know what they do and that they’re there in case you suddenly need them.

READ  5 Deadly Linux Commands List


This command enables you to change your user account password. As root, you can reset normal user passwords, though you cannot view them. It’s a good security practice to change your password every so often.

Linux Commands For Help / Documentation

9.man / whatis

The man command brings up the manual for a particular command. Most command line applications come with a man page. Whatis provides a one line summary lifted from the relevant sections of the manual. What are sections of the manual? See for yourself with “man man”.


Tells you where an executable binary files lives, provided it’s in your path. It can also find its manual page and source code, provided they are present.

Linux Commands For Network


If the list of network related commands appears quite  short, you’re probably not familiar  with ip. In short, the net-utils package which contains ipconfig, netstat and others has been deprecated in favor of the iproute2 package. It affords the ip command, which replaces ipconfig, netstat, route, etc. You may view it as a Swiss Army knife of networking, or a unwanted mess, but either way, it’s the future.


Pings are ICMP ECHO_REQUEST datagrams, however that’s now not vital. The crucial aspect is that the ping utility is a useful diagnostic tool. It allows you to fast take a look at if you’re related to your router or the net, and offers some indication of the high-quality of that connection.

About the author

Wikitechy Editor

Wikitechy Editor

Wikitechy Founder, Author, International Speaker, and Job Consultant. My role as the CEO of Wikitechy, I help businesses build their next generation digital platforms and help with their product innovation and growth strategy. I'm a frequent speaker at tech conferences and events.

Add Comment

Click here to post a comment