LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Version (https://www.linuxquestions.org/questions/linux-newbie-8/version-448052/)

clmowers 05-24-2006 08:46 AM

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.

Okie 05-24-2006 08:48 AM

look in /etc/* there could be a file in there with details on the distro and version number

serafean 05-24-2006 08:53 AM

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

clmowers 05-24-2006 08:55 AM

Ok Thanks i will try that and let you know

clmowers 05-24-2006 09:36 AM

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

Okie 05-24-2006 09:40 AM

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

clmowers 05-24-2006 10:21 AM

well that file didnt have much in it. Just had 1.1

Okie 05-24-2006 10:35 AM

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

clmowers 05-24-2006 11:00 AM

well its running 2.3.10 kernal

Okie 05-24-2006 11:08 AM

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

clmowers 05-24-2006 11:13 AM

So im guess that this is a def on debian distro?

Okie 05-24-2006 12:08 PM

i am pretty sure it is debian...

clmowers 05-25-2006 09:03 AM

Ok well thar bring it down to only a few different versions. So that did help out

Okie 05-25-2006 09:31 AM

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

chrism01 05-25-2006 09:37 PM

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


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