LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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-12-2008, 12:56 PM   #1
tuttu22
LQ Newbie
 
Registered: Apr 2008
Posts: 6

Rep: Reputation: 0
Best command to check the exact linux installed


Hi Guys,

can any of you tell me a best command to check the exact linux distro & ver installed on a particular server.

Regards,
Tuttu
 
Old 05-12-2008, 01:15 PM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
You have "uname-a" which gives you some kernel infos.
My box is a fedora core 8, I have the file "/etc/redhat-release" which embed the ditribution name and release.
 
Old 05-12-2008, 01:23 PM   #3
tuttu22
LQ Newbie
 
Registered: Apr 2008
Posts: 6

Original Poster
Rep: Reputation: 0
hi Jf
thanks

kernel info --> uname -r
os info --> /etc/redhat-release(ditribution name and release)
cool !

Last edited by tuttu22; 05-12-2008 at 01:24 PM. Reason: spelling mistake
 
Old 05-12-2008, 03:22 PM   #4
p_quarles
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Rep: Reputation: 0
While not completely standardized yet, the distribution information can often be obtained from this command:
Code:
lsb_release -a
 
Old 05-12-2008, 06:51 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
uname -a
gives you the low-level stuff, like kernel ver and machine name
cat /etc/issue
gives you the distro name & ver, if it works.
 
  


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
Will dd command make an exact copy (clone) of a disc pafos Linux - Newbie 15 03-29-2008 04:59 AM
how to check all the fonts name installed in linux noble_curious General 3 11-29-2007 11:03 AM
how to check video 4 linux is installed Buddhike G Linux - Software 1 10-04-2007 07:23 AM
how to check installed programs in linux? int21h Linux - Newbie 3 05-20-2007 10:47 PM
command to check video driver installed max3001 Linux - Hardware 1 05-11-2004 03:56 AM


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