LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-25-2008, 04:29 AM   #1
adichosa
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
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
 
Old 10-25-2008, 05:58 AM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 582

Rep: Reputation: 32
uname -a ?
 
Old 10-25-2008, 06:07 AM   #3
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 718

Rep: Reputation: 72
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
 
Old 10-25-2008, 09:39 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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
 
  


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
How do I determine what version of Linux is running? DStrick64 Linux - Newbie 17 05-30-2012 09:29 AM
putty and trying hard to connect to a linux server nass Linux - Networking 1 03-14-2008 05:26 PM
putty ssh login in Linux server alexz Linux - General 5 06-08-2007 12:22 PM
How to determine version of linux djburdick Linux - General 2 04-24-2006 10:37 AM
Determine version of Linux OS? amiableboy Linux - Newbie 2 07-21-2005 04:16 AM


All times are GMT -5. The time now is 11:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration