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.

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.

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.


Parameters Available for Calendar on Linux:


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.

How to view Linux time and date

With the date command, we can see the system time and date instantly.

If we want to see how long the Linux operating system has been open.


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.

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.

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.

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.