Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 07-31-2003, 10:55 AM   #1
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
change 'uname -s' output?

can anyone tell me what a HP-UX, SunOS, or solaris machine answers with when issued a 'uname -s' command?

allow me to change the question a bit. Is there an environ variable or something I can tweak that will get 'uname -s' to output SunOS instead of 'Linux'?

Last edited by jpbarto; 07-31-2003 at 12:37 PM.
Old 07-31-2003, 11:31 AM   #2
LQ Newbie
Registered: Jul 2003
Distribution: SuSE
Posts: 13

Rep: Reputation: 0
A uname -a command on a friend's SunOS box:
kbenson@tixferd ~$ uname -a
SunOS terminator 5.8 Generic_108528-09 sun4m sparc SUNW,SPARCstation-20
I would imagine, that uname -s would display SunOS, but I'm told uname -sr is almost always used instead of just s, I think -r displays the os release level.
Old 07-31-2003, 12:24 PM   #3
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Original Poster
Rep: Reputation: 45
thank you


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
Uname ? phr3nzal Linux - Software 4 10-07-2005 08:52 AM
uname -a Jeebizz Slackware 18 05-03-2005 04:53 PM
uname huntz Slackware 3 09-30-2004 06:53 AM
uname -a BRAHmS Linux - Newbie 1 05-11-2004 09:45 PM
uname -r 2.6.4 /bin/bash General 25 03-16-2004 07:14 AM

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration