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

System

$ whoami

Print the user logged in.

image
$ date

Print the current date-time, time zone included.

image
$ uname -a

Display Linux system informations.

image
$ uptime

Shows how long is the system running.

image
$ hostname

Print the hostname of the system.

image
$ uname -r

Display kernel version and informations.

image
$ history

Prints the history of all the commands ran.

image
$ 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.

image
# kill "pidof "

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

image
$ top

Displays the top CPU processes.

image

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


NEWSLETTER

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.