How to check Debian version
On Debian, type cat /etc/debian_version
to display the Debian version.
Terminal
$ cat /etc/debian_version
9.5
Alternatively, cat /etc/issue
Terminal
$ cat /etc/issue
Debian GNU/Linux 9 \n \l
The last one, lsb-release -a
, it will display the Debian detail.
Terminal
$ lsb-release -a
-bash: lsb-release: command not found
$ sudo apt-get install lsb-release
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.5 (stretch)
Release: 9.5
Codename: stretch
References
About Author
Comments
Subscribe
0 Comments