Learning Linux System Information Commands
Learning Linux distribution information
The lsb_release command is used to get information about the operating system on Linux. Using this command alone does not mean anything, for this, it is necessary to use the relevant parameters after the command.
1 | lsb_release [parametre] |
Let’s see the lsb_release --help
the command to see the available parameters:

If we want to see all the information, the lsb_release -a
the command is used for this.

Learning kernel knowledge on Linux
It is learned by using the uname (Unix Name)
the command to learn kernel information.
1 | uname [parametre] |
We can see the available parameters with the following command:
If we want to see all the information, the uname -a
the command is used for this.

Calendar display in Linux
If we want to display calendar information on Linux, cal
the command is used for this. If we use the command alone, it displays the current day’s calendar.
1 | cal [parametre] |
Parameters Available for Calendar on Linux:
1 | techsoftcenter@techsoftcenter-virtualBox:<b>~</b>$ cal --help |
If we wanted to see the calendar of a desired month and year, we would have to write the month and year numbers with a space between them after cal command.
For example, if we want to see August 2020, it will be sufficient to write the following command.
1 | cal 8 2020 |
How to view Linux time and date
With the date command, we can see the system time and date instantly.
1 | date |
If we want to see how long the Linux operating system has been open.
1 | uptime |
If we want to find the source and manual directories of the command
Using the whereis
command, we can find the location of the source directories and manual pages of the commands.
1 | whereis [komut] |
If we want to see available parameters:

To learn the amount of RAM that Linux has
With the free command, total RAM
, RAM
, and free RAM
can be used. When the free command
is used without parameters, the results are calculated in kilobytes.
1 | free |
If we want to see the commands to be used with the free command

For example, if we want to see the output as readable,
If we want to see the commands used for Linux history
All commands written in the terminal can be viewed with the history
command. The last used 1000 commands defined by default are kept in memory.
1 | history |
To reuse a command in the history
output, the exclamation point is then written in the history number of the command. For example, to use the hostname techsoftcenter
command in the screenshot above, it will be enough to write !14
.
It is sufficient to use the history -c
command to delete the history of commands in the Linux memory.
I hope it was a useful article.