How to check the Debian version

by Daniel Pham
Published: Updated:

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.

How to check the Debian version
Commands to check the Debian version.

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.

How to check the Debian version
Type the file path into browser to see Debian version.

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.

(This is an article from my old blog that has been inactive for a long time, I don’t want to throw it away so I will keep it and hope it helps someone).

0 0 votes
Article Rating

You may also like

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

DevOps Lite is a personal blog specializing in technology with main topics about DevOps, DevSecOps, SRE and System Administrator. Articles are shared for free and contributed to the community.

SUPPORT US

FOLLOW US

Subscribe my Newsletter for new blog posts. Stay updated from your inbox!

© 2021-2024 DevOpsLite.com – All rights reserved.

Please write sources “DevOpsLite.com” when using articles from this website.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

0
Would love your thoughts, please comment.x
()
x

Adblock Detected

Please support us by disabling your AdBlocker extension from your browsers for our website.