LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I determine the Linux Server Version using a console (puTTY)? (http://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-determine-the-linux-server-version-using-a-console-putty-678953/)

adichosa 10-25-2008 04:29 AM

How do I determine the Linux Server Version using a console (puTTY)?
 
Hi Guys,

First of all I'm new to Linux. Our server uses a linux server which im not sure of if it is RedHat, Ubuntu.... etc. Question is.... what unix command should I use to find out the version.

Thanks in advanced.

Alexis

dorian33 10-25-2008 05:58 AM

uname -a ?

makyo 10-25-2008 06:07 AM

Hi.

I suggest trying some of the files in /etc. For example:
Code:

$ cat /etc/issue
Debian GNU/Linux lenny/sid \n \l

cheers, makyo

reddazz 10-25-2008 09:39 AM

On most distros you can do
Code:

cat /etc/*-release
On Debian, Ubuntu and related distros you can use "cat /etc/issue" as mentioned above or do
Code:

cat /etc/lsb-release


All times are GMT -5. The time now is 04:01 PM.