LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-31-2003, 11:55 AM   #1
jpbarto
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?

Edit:
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 01:37 PM.
 
Old 07-31-2003, 12:31 PM   #2
Sword
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, 01:24 PM   #3
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Original Poster
Rep: Reputation: 45
thank you
 
  


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


All times are GMT -5. The time now is 07:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration