Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rocket domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/practical-tips.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the soledad domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/practical-tips.com/wp-includes/functions.php on line 6114
Display Linux version - this is how it works - Practical Tips

Display Linux version – this is how it works

by Pramith

You can display the Linux version directly via the terminal. Several commands are available for this purpose

Displaying the Linux version: This is how it works via the terminal

The Linux terminal helps you to find the version of the operating system installed on your system. You open it with your keyboard using the key combination [Ctrl]+[Alt]+[T].

  • Open the terminal and enter the command cat /etc/*release. The asterisk will list all distributions that you have installed. So don’t be surprised if you see several files with the extension “release”
  • Then look for the Version item in the terminal. This indicates the current version number.
  • Under PRETTY_NAME=, on the other hand, you will find the distribution currently in use, including the version number. This is usually the most secure version display.
  • Alternatively, you can use the command cat /etc/os-release, which performs the same function. If you only want to display the current version and distribution instead, use one of the following commands: cat /etc/issue or lsb_release -d.
  • Note: Do not be confused if lines or names appear twice. The content of the files with version information is not standardized. The content of the relevant files may look slightly different for each distribution.

Alternative: Display Linux version via hardinfo

If you prefer a GUI instead of the terminal, simply install hardinfo. The package shows you the system information in a clearly arranged window, just like under Windows or macOS.

  • First download the package from the official Github download page. The current version is called hardinfo2.
  • You can then install hardinfo using a package manager of your choice. The program can then be used on your system.
  • You will find it under the name System Information and Benchmark. Open it and navigate to the Computer and Summary tab.
  • You will find the Operating system item there. The current distribution and version are displayed under this item.

Related Articles

Leave a Comment