How To: Find Out the Release Version of Your UNIX

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
Please share:
  • Digg
  • del.icio.us
  • Netvouz
  • BlinkList
  • Fark
  • Furl
  • kick.ie
  • Netscape
  • Reddit
  • StumbleUpon
  • Technorati
  • YahooMyWeb

9 comments ↓

#1 How To Find Out RedHat Version And More | UNIX Tutorial: Learn UNIX on 12.19.07 at 4:46 am

[...] How To Find Out the Release Version of Your Unix [...]

#2 Find Compiler Version in Unix | UNIX Tutorial: Learn UNIX on 01.02.08 at 9:24 am

[...] Find out the release version of your Unix [...]

#3 unix uname command - print Unix system information | Unix Commands on 01.30.08 at 4:48 am

[...] 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. [...]

#4 Find Out Linux Version using Linux Standard Base (LSB) files | UNIX Tutorial: Learn UNIX on 03.18.08 at 5:24 am

[...] How to Find Out the Release Version of Your Unix [...]

#5 Little Linux Commands « Code Ghar on 06.09.08 at 2:43 am

[...] Hat, Ubuntu: tail /etc/issue Red Hat: tail /etc/redhat-release SUSE: tail /etc/SuSE-release Ubuntu (gives more detail): tail [...]

#6 Find Out Memory Size in Linux | UNIX Tutorial: Learn UNIX on 06.18.08 at 10:12 pm

[...] Find out your Unix OS release version [...]

#7 List Installed Packages on Your Ubuntu Linux | UNIX Tutorial: Learn UNIX on 09.02.08 at 4:01 pm

[...] Finding out the release version of your Unix [...]

#8 Use /proc/version to identify your Linux release | UNIX Tutorial: Learn UNIX on 04.09.09 at 10:31 am

[...] use /etc/redhat-release or /etc/SuSE-release (/etc/issue for Ubuntu) [...]

#9 ilya on 06.14.09 at 2:00 pm

for linux you can also try to run lsb_release -a

Leave a Comment