LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-24-2002, 05:20 PM   #1
dpaille
LQ Newbie
 
Registered: Jun 2002
Posts: 4

Rep: Reputation: 0
Question Showing Distrobution in Command Line?


I have customers that I dial into their systems, but I can't tell which distribution that they are running. Most don't know. Sometimes it is easy with something like SCO, but with the different flavors out there like Redhat, Debian, Mandrake, etc....all I can find is the uname command which really only gives me the kernel version.

Can anybody help ? Thanks,
Dom
 
Old 11-24-2002, 05:24 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
uname -a should give more than kernel version, but if you look in /etc most distros (well the one's I've used anyway) will make a file with the version. For example, on my Slack box its:
/etc/slackware-version

for Mandy:
/etc/mandrake-release

So there's one way.

Cool
 
Old 11-24-2002, 05:24 PM   #3
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
For Slack, there is a file:
/etc/slackware-version
it contains the version of Slack that was installed.
 
Old 11-24-2002, 05:26 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69


At least we are consistent

Cool
 
Old 11-24-2002, 05:35 PM   #5
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
LOL!
All right, I'll just wait until you've logged off before trying to answer any
more questions! =-}
 
Old 11-24-2002, 05:40 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Oh no, don't do that. I am not nearly as competent as you. You definitely have a broader knowledge base than I, I just have a T1 connection

Cool
 
Old 11-24-2002, 08:08 PM   #7
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
=-}

I don't have that bad a connection, certainly not T1 (SIGH), but not a dialup
either. I guess I'll blame it on having to do too many things at once. . .
 
Old 11-24-2002, 08:32 PM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I'm at work, it might be a T3 even, it's the Navy after all. At home I've got a measly DSL at 768/128

Cool
 
Old 11-24-2002, 08:51 PM   #9
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
Do you happen to know anybody in the nuclear subs? A friend of mine
just moved from the base up there. . .
 
Old 11-24-2002, 08:54 PM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
From Bangor? I don't know any on a sub right now, but I do have a few buddies who have been on em. And I do have a friend stationed in bangor, but he's a Dental Tech, far from any Nuclear Tech.

Nah, for the most part I only know Hospital Corpsman, not really many nukes, but I do know an X weatherman

Cool
 
Old 11-24-2002, 09:02 PM   #11
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
I don't know exactly where he was stationed, somewhere near Bremerton,
which I *thought* was near Oak Harbor. Anyway. . .
 
Old 11-24-2002, 09:11 PM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Yeah, Bremerton is right next to Bangor which is semi-close to Oak Harbor (~ 3 hours around the sound, 1.5 on a ferry). Bremerton is the ship yard, where Bangor is the sub base, and Oak Harbor is the Air Station.

Cool
 
Old 11-24-2002, 09:16 PM   #13
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
Ok, so yeah, it was Bangor. . .
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
showing only directorys from the command line djgerbavore Linux - Newbie 7 07-13-2005 08:34 PM
disk not showing up in 'df' command jjordan Mandriva 8 09-25-2004 09:29 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 07:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 01:28 PM
what is the command prompt for showing device? yenonn Linux - General 9 02-21-2003 02:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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