LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2009, 10:07 AM   #1
Zero187
Member
 
Registered: May 2009
Posts: 32

Rep: Reputation: 15
Displaying distro version


How do you display or find out the version of your distro?

I have looked in /proc/version but that only displays (SUSE Linux) and not the actual version of SUSE..

I also tried a "procinfo" and "uname -a", neither of which displayed the version number.

Seems pretty counter-intuitive to me.
 
Old 06-16-2009, 10:09 AM   #2
arckane
Member
 
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 307

Rep: Reputation: 38
For Debian or APT based systems, cat /etc/apt/sources.list
 
Old 06-16-2009, 10:10 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
In a terminal type
Quote:
cat /etc/SuSE-release
 
Old 06-16-2009, 10:11 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
For Debian or APT based systems, cat /etc/apt/sources.list
Code:
lsb_release -a
would be easier
 
Old 06-16-2009, 10:13 AM   #5
Zero187
Member
 
Registered: May 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Perfect, "lsb_release -a" is exactly what I was looking for.

Thank you!
 
Old 06-16-2009, 11:17 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by repo View Post
Code:
lsb_release -a
would be easier
Just a word of warning on the lsb_release -a command. It seems to be a bit out of date. So on my Debian/Squeeze(testing) box I get this:
Quote:
Distributor ID: Debian
Description: Debian GNU/Linux testing (lenny)
Release: testing
Codename: lenny
OTOH, if I ctl-alt-F1 into a virtual console then I get this:
Quote:
Debian GNU/Linux squeeze/sid Attila tty1
which is more accurate.
cheers,
jdk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which version of what comes with a particular distro? taylorkh Linux - Newbie 3 06-05-2009 06:21 AM
After installation of new RPM , still displaying old version tittos Linux - Newbie 3 10-23-2008 08:35 AM
Webserver not displaying the new version of php??? Why? rajnair0278 Linux - Software 4 03-27-2006 07:08 AM
displaying apache version jonfa Linux - General 1 09-10-2003 04:28 AM
base distro version? blackcat Linux From Scratch 18 09-09-2002 06:37 PM


All times are GMT -5. The time now is 01:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration