Different UNIX-like operating systems store information about their release versions differently. If you know what OS you have, but not sure about the version, then here's how you can find out:
RedHat Linux
bash-3.1$ cat /etc/redhat-release Red Hat Enterprise Linux Client release 5 (Tikanga)
Ubuntu Linux
bash-3.1$ cat /etc/issue Ubuntu 6.10 n l
SUSE Linux
~> cat /etc/SuSE-release SUSE Linux Enterprise Desktop 10 (x86_64) VERSION = 10
Sun Solaris
bash-2.03$ cat /etc/release
Solaris 8 2/04 s28s_hw4wos_05a SPARC
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
Assembled 08 January 2004











9 comments ↓
[...] How To Find Out the Release Version of Your Unix [...]
[...] Find out the release version of your Unix [...]
[...] How to Find the Release Version of your Unix Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. [...]
[...] How to Find Out the Release Version of Your Unix [...]
[...] Hat, Ubuntu: tail /etc/issue Red Hat: tail /etc/redhat-release SUSE: tail /etc/SuSE-release Ubuntu (gives more detail): tail [...]
[...] Find out your Unix OS release version [...]
[...] Finding out the release version of your Unix [...]
[...] use /etc/redhat-release or /etc/SuSE-release (/etc/issue for Ubuntu) [...]
for linux you can also try to run lsb_release -a
Leave a Comment