LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-17-2009, 05:27 AM   #1
Phil8715
LQ Newbie
 
Registered: Mar 2009
Posts: 12

Rep: Reputation: 0
Which version am I running?


Hi my name is Phil and i'm new to linux questions.

I bought a second hand Cnm minibook and i'm wondering which version of linux is uses? I have used debian on an Nokia 770 internet tablet, and ubuntu only briefly on my pc. As I would like to buy a book on linux to learn more about it.
 
Old 03-17-2009, 05:45 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Open up a console window and run "cat /proc/version". That usually will give you all the info you need about the distro you're running.

For a good rundown on Linux, try the Rute User's Tutorial. It's available online and has most of the essential information you'll need. But be aware that there are differences between distros.

Last edited by David the H.; 03-17-2009 at 05:48 AM. Reason: added second part
 
Old 03-17-2009, 06:42 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
or you can type
Code:
lsb_release -a
 
Old 03-17-2009, 07:14 AM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Hmm, odd. lsb_release still shows me as using Debian Lenny. I believe that's the version provided by the installer I used, but I upgraded to sid almost as soon as I finished the installation. I guess lsb_release, or wherever it gets its data from, didn't get the message.
 
Old 03-17-2009, 08:31 AM   #5
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 David the H. View Post
Hmm, odd. lsb_release still shows me as using Debian Lenny. I believe that's the version provided by the installer I used, but I upgraded to sid almost as soon as I finished the installation. I guess lsb_release, or wherever it gets its data from, didn't get the message.
Hi David,
Same here. I have always tracked testing and Lenny morphed into Squeeze when Lenny was released but lsb_release still lists Debeian Testing (Lenny). They're a little slow in updating this I guess.
Cheers,
jdk
 
Old 03-17-2009, 08:47 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
I get contradictory information, too. I installed from a lenny netinstall CD, then dist-upgraded to squeeze.
Code:
cat /proc/version
Linux version 2.6.26-1-686 (Debian 2.6.26-13) (waldi@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-24)) #1 SMP Sat Jan 10 18:29:31 UTC 2009

lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux testing (lenny)
Release:	testing
Codename:	lenny

cat /etc/debian_version
squeeze/sid
 
Old 03-17-2009, 12:39 PM   #7
rizwanrafique
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, openSUSE, CentOS
Posts: 147

Rep: Reputation: 19
Code:
cat /etc/issue
 
Old 03-17-2009, 01:10 PM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Code:
cat /etc/issue
Debian GNU/Linux squeeze/sid \n \l
 
Old 03-17-2009, 01:16 PM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Code:
cannabis:/home/repo# cat /etc/debian_version
squeeze/sid
cannabis:/home/repo# cat /proc/version
Linux version 2.6.26-1-686 (Debian 2.6.26-13) (waldi@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-24)) #1 SMP Sat Jan 10 18:29:31 UTC 2009
cannabis:/home/repo# lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux unstable (sid)
Release:	unstable
Codename:	sid
cannabis:/home/repo# cat /etc/issue
Debian GNU/Linux squeeze/sid \n \l

cannabis:/home/repo#
 
  


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
Very New to This - What Version Am I Running? Canis Polaris Linux - Newbie 2 05-16-2007 06:38 PM
Which version am I running? jseise Linux - Distributions 2 02-01-2007 02:23 AM
what version am i running wedgeworth Linux - Newbie 2 04-08-2004 11:55 PM
Old X version running? nhwk Debian 2 03-06-2004 02:49 PM
How do I see what version I am running TransAmJugo Linux - Software 3 08-04-2003 12:02 PM


All times are GMT -5. The time now is 08:24 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