Determine Linux Operating System Version

To determine the Operating System/Distribution version from the command line / terminal interface.

How to tell the Ubuntu version?

# lsb_release -r
Release:        7.10
 

How to tell the Slackware version?

# more /etc/slackware-version
Slackware 10.2.0 (x86_64)
 

How to tell Red Hat / CentOS version?

#more /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)

How to tell Solaris version? 

# more /etc/release
                       Solaris 8 2/04 s28s_hw4wos_05a SPARC
           Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
                            Assembled 08 January 2004

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>