In this simple article we are going to show you 10 linux system commands that are really useful and maybe you did not know.


$ whoami

Print the user logged in.

$ date

Print the current date-time, time zone included.

$ uname -a

Display Linux system informations.

$ uptime

Shows how long is the system running.

$ hostname

Print the hostname of the system.

$ uname -r

Display kernel version and informations.

$ history

Prints the history of all the commands ran.

$ pidof (command/program)

Prints the PID of a program running.
A PID is an acronym for process identification number on Linux systems. It is an identification number that is automatically assigned to each process when it is created.

# kill "pidof "

Kill a program that is actually running identified by its PID.

$ top

Displays the top CPU processes.


For this article that's all! Stay tuned because more is on the way, have fun!


Do not lose our new articles! Sign up to our newsletter to receive one and only one email every time a new article is online. You will be able to unsubscribe to the service later if you want. What are you waiting for?

Andrea Cappelletti
Programmer / Developer

I really like Linux and its philosophy. I use Arch Linux as OS but at the same time I am very open to all the other OS, indeed I also have installed windows and I have got a MacBook Pro. I fully support Open Source, I usually public software by following this philosophy.