LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-09-2004, 12:58 PM   #1
phpsharma
LQ Newbie
 
Registered: Aug 2004
Location: hyderabad
Posts: 21

Rep: Reputation: 15
How can i know which linux distribution I am working on?


Hi all,

How can i Know which Linux distribution i am working on from command prompt or ssh?

I am new to linux.

Thanks,
sharma
 
Old 10-09-2004, 01:48 PM   #2
jjjjjavi
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware 10.0
Posts: 2

Rep: Reputation: 0
One option could be "uname -a". It shows system information, and in some distributions, it shows the name and version.
 
Old 10-09-2004, 01:50 PM   #3
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

since u do not know what distro ur using and u r doing that through ur terminal
i think

uname -a

will help u


regards
 
Old 10-09-2004, 02:33 PM   #4
phpsharma
LQ Newbie
 
Registered: Aug 2004
Location: hyderabad
Posts: 21

Original Poster
Rep: Reputation: 15
thank you for info..

i ran this and its showing this..

Linux stories.stories.com 2.2.19-6.2.1ensim.smp-3.2.0-25 #1 SMP Tue May 13 20:28:52 PDT 2003 i686 unknown

what is distribution in this message. I am thinking that its missed here

Thank,
sharma
 
Old 10-09-2004, 03:41 PM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

this is a wild guess but this kernel spec looks to me of redhat 6.2
meanwhile i will look out for more specific answers

regard
 
Old 10-09-2004, 10:50 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Look in the /etc directory and see if you have
something like this:

mingdao@james:~$ cat /etc/slackware-version
Slackware 10.0.0
 
Old 10-09-2004, 10:57 PM   #7
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
To expand on what Chinaman said:

ls /etc/*version*
ls /etc/*release*

Then run the cat command on the file you found.
 
Old 10-10-2004, 10:33 AM   #8
phpsharma
LQ Newbie
 
Registered: Aug 2004
Location: hyderabad
Posts: 21

Original Poster
Rep: Reputation: 15
Thank you all for your great support .

sharma
 
  


Reply



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
What is the best Linux distribution desolator Linux - Newbie 42 02-05-2006 12:35 AM
linux distribution mgokulagiridara Linux - Distributions 2 02-26-2005 04:54 PM
Which Linux Distribution is the Best? TankerKevo Linux - General 6 01-08-2004 08:14 AM
linux CD distribution wincrk Linux - General 10 03-19-2003 06:05 PM
Does Linux always mean distribution ? Imothep Linux - Software 7 04-11-2001 05:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 03:24 PM.

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
Open Source Consulting | Domain Registration