»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 04-02-2004, 12:35 PM   #1 (permalink)
Registered User
 
Join Date: Oct 2003
Posts: 18
thodyconsulting is on a distinguished road
Finding linux version?

Hi, I'm trying to find out which version of Linux my ded. server is running...is there an easy way to do that remotely? Looking for an ssh command or something.

Thanks

thodyconsulting is offline   Reply With Quote
Old 04-02-2004, 12:37 PM   #2 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
If you just want the kernel version you can use uname
uname -r
If you want the distro it *should* be in dmesg (right at the top)
dmesg | head -n 1
krohnjw is offline   Reply With Quote
Old 04-02-2004, 12:37 PM   #3 (permalink)
Registered User
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Champaign, IL
Posts: 3,253
jkrohn is on a distinguished road
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
uname -a

uname will give you a lot of the info you are looking for.

Jkrohn
__________________
Jkrohn
jkrohn is offline   Reply With Quote
Old 04-02-2004, 12:44 PM   #4 (permalink)
Registered User
 
Join Date: Oct 2003
Posts: 18
thodyconsulting is on a distinguished road
Hmmm well that's some progress! Still not exactly sure what this means though.

The output was:

Linux my.server.com 2.4.25 #1 SMP Fri Feb 27 17:44:58 MST 2004 i686 i686 i386 GN
U/Linux

What does that translate to? I'm looking for the Redhat x.x name.

Sorry, I'm still a little clueless with Linux.
thodyconsulting is offline   Reply With Quote
Old 04-02-2004, 12:45 PM   #5 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
That is your output from dmesg | head -n 1 ?
krohnjw is offline   Reply With Quote
Old 04-02-2004, 12:53 PM   #6 (permalink)
Registered User
 
Join Date: Oct 2003
Posts: 18
thodyconsulting is on a distinguished road
Ah, no that was from uname -a. Your responses came in at the same time and I missed yours. dmesg | head -n 1 gave me exactly what I was looking for. Thanks a ton.
thodyconsulting is offline   Reply With Quote
Old 04-02-2004, 10:08 PM   #7 (permalink)
Registered User
 
willy_ph's Avatar
 
Join Date: Oct 2001
Location: Trent University
Posts: 1,864
willy_ph is on a distinguished road
I see a fight coming on between the krohn brothers.
willy_ph is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 03:48 PM.