Jul 18
How to check Ubuntu version number
This is a personal note. This lets you check Ubuntu’s version number. Run the command ‘cat /etc/lsb-release’.
tkw@deathnode:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"
tkw@deathnode:~$
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"
tkw@deathnode:~$
My blog has pretty much become a scrap book.
To find Red Hat or CentOS linux version number use:
tkw@redhat:~$ cat /etc/redhat-release
CentOS release 4.8 (Final)
CentOS release 4.8 (Final)
jer added that this is a better alternative:
lsb_release -a
Thanks!
Possibly related:
actually,”lsb_release -a”
Jul 19
Thanks for the addition.
Jul 19
Really useful, I used to use: $ cat /etc/issue
Jul 19