SystemMen - How to check the Debian version you are using? This article will guide you through a number of commands to check the Debian version. These commands are quite simple and easy to implement.
Commands to check the Debian version
Below, I will guide you through four commands to see what version you are using. In turn the commands are as follows.
Command number 1. This is the simplest command, displaying the main version information.
cat /etc/issue
With the above command, you can only know that you are running Debian 8 but do not know what version of 8. With the next command, you can know exactly where you are running Debian 8.10 (for example).
cat /etc/debian_version
This third command will display more complete information about the version of Debian that you are using.
cat /etc/os-release
The interesting thing about all three commands is that you just copy the file path and type in the browser to see the information. For example, with the third command, I would enter into the browser /etc/os-release, this is the OS informations of my computer.
And lastly, if you are using Debian version 8 or later, you can use hostnamectl
(as seen in the image above) to display OS information.
hostnamectl
Conclusion
Viewing the os version can be done very simply with the commands above. For desktop computers, you can see it in the browser, which is quite interesting and perhaps less noticeable.
«« Configure static IP on Debian 9How to install PHP 7 in Debian 8 »»