LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 05-24-2006, 09:46 AM   #1
clmowers
Member
 
Registered: Mar 2005
Location: upstate ny
Posts: 42

Rep: Reputation: 15
Version


Hello
I have a linux server that is command line base. Im building a Database and i need to get what version and what distro is on this box. Is there a command that will tell me this.
 
Old 05-24-2006, 09:48 AM   #2
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 977

Rep: Reputation: 36
look in /etc/* there could be a file in there with details on the distro and version number
 
Old 05-24-2006, 09:53 AM   #3
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 903
Blog Entries: 13

Rep: Reputation: 122Reputation: 122
not sure if it gives you everything you want, but you might want to try "uname -a" It gives the general specs of your machine
 
Old 05-24-2006, 09:55 AM   #4
clmowers
Member
 
Registered: Mar 2005
Location: upstate ny
Posts: 42

Original Poster
Rep: Reputation: 15
Ok Thanks i will try that and let you know
 
Old 05-24-2006, 10:36 AM   #5
clmowers
Member
 
Registered: Mar 2005
Location: upstate ny
Posts: 42

Original Poster
Rep: Reputation: 15
Well The /etc dir has a debian_version file. How do i determine if i can read this file or note. I tried doing a pager debian_version and it just went back to the root.I tried the uname -a and that jsut give very basic info. it told me what version kernal its using which is one of the things i need but thats all. Any other suggestions
 
Old 05-24-2006, 10:40 AM   #6
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 977

Rep: Reputation: 36
RE: The /etc dir has a debian_version file

you should be able to open this file with nano pr pico or your favorite text editor
 
Old 05-24-2006, 11:21 AM   #7
clmowers
Member
 
Registered: Mar 2005
Location: upstate ny
Posts: 42

Original Poster
Rep: Reputation: 15
well that file didnt have much in it. Just had 1.1
 
Old 05-24-2006, 11:35 AM   #8
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 977

Rep: Reputation: 36
1.1 is odd, i am not a debian user but i think sarge is 3.1 check your kernel version. you might be running Debian Potato if it has a 2.2.xx series kernel...

hopefully a debian guru will jump in and lend a hand...
 
Old 05-24-2006, 12:00 PM   #9
clmowers
Member
 
Registered: Mar 2005
Location: upstate ny
Posts: 42

Original Poster
Rep: Reputation: 15
well its running 2.3.10 kernal

Last edited by clmowers; 05-24-2006 at 12:03 PM.
 
Old 05-24-2006, 12:08 PM   #10
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 977

Rep: Reputation: 36
that 3 is an odd number, i think it is a developers kernel used just before the 2.4 series kernels were released ...

now i want a debian/kernel guru in here to lend a hand
 
Old 05-24-2006, 12:13 PM   #11
clmowers
Member
 
Registered: Mar 2005
Location: upstate ny
Posts: 42

Original Poster
Rep: Reputation: 15
So im guess that this is a def on debian distro?
 
Old 05-24-2006, 01:08 PM   #12
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 977

Rep: Reputation: 36
i am pretty sure it is debian...
 
Old 05-25-2006, 10:03 AM   #13
clmowers
Member
 
Registered: Mar 2005
Location: upstate ny
Posts: 42

Original Poster
Rep: Reputation: 15
Ok well thar bring it down to only a few different versions. So that did help out
 
Old 05-25-2006, 10:31 AM   #14
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 977

Rep: Reputation: 36
if it was my computer i would install something current like debian sarge if debian was required, atleast with a current distro you can get security updates...
 
Old 05-25-2006, 10:37 PM   #15
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Never used Debian, but on RH distros you use
cat /etc/issue
why not give it a try?
 
  


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
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 03:54 PM
redhat fedora gcc version (compiled for 2.4.20) doesn't match kernel version 2.4.22 start1000 Linux - Software 0 03-16-2004 09:17 PM
Xfree Error (EE) module ABI minor version (7) is newer than the server's version (6) jimdaworm Slackware 0 10-17-2003 06:26 PM
Xfree prob radeon.o kernel module version is 1.1.1 but version 1.5.0 or newer needed. jimdaworm Slackware 0 10-01-2003 07:27 PM
Sample Driver Module incompatibility with Kernel version (or gcc version) jvs Linux - General 1 06-07-2002 02:40 AM


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