LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Which version am I running? (https://www.linuxquestions.org/questions/linux-newbie-8/which-version-am-i-running-712199/)

Phil8715 03-17-2009 04:27 AM

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.

David the H. 03-17-2009 04:45 AM

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.

repo 03-17-2009 05:42 AM

or you can type
Code:

lsb_release -a

David the H. 03-17-2009 06:14 AM

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. :)

jdkaye 03-17-2009 07:31 AM

Quote:

Originally Posted by David the H. (Post 3478123)
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

brianL 03-17-2009 07:47 AM

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


rizwanrafique 03-17-2009 11:39 AM

Code:

cat /etc/issue

brianL 03-17-2009 12:10 PM

Code:

cat /etc/issue
Debian GNU/Linux squeeze/sid \n \l


repo 03-17-2009 12:16 PM

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#



All times are GMT -5. The time now is 08:20 PM.