Show Linux version - how it works
If you are not sure which system you are working with, you can display the Linux version in just a few steps. With this information you can then specifically search for software or problem solutions for your system.
Show Linux version in the terminal
- Open the terminal and type in the command "cat / etc / * release". The asterisk means that all distributions are supported. However, this can also cause several files with the "release" extension to be displayed.
- However, this is no longer tragic - you should still be able to find the relevant information in this way.
- In the screenshot you can see the output under "Debian 8" on the left and under "Ubuntu 14.04.3 LTS" on the right. The name with the most meaning is usually found after the keyword "PRETTY_NAME".
- Do not be confused if lines or labels appear twice. From the output of Ubuntu you can see that you can actually see the content of two files with version information (os-release and lsb-release).
- The content of the files with version information is not standardized. The content of the files in question may look different for each distribution.