1832592 Members
2593 Online
110043 Solutions
New Discussion

Re: OS name

 
SOLVED
Go to solution
Ravi_8
Honored Contributor

OS name

Hi, all
I have a D390 HP m/c. in which we have 10.2 as well 11.0, but whenever i issue the command 'uname' in 10.2 it gives a junk reply whereas in 11.0 with the same command i get HP-UX. what needs to be done in 10.2.

thanx in advance
never give up
7 REPLIES 7
melvyn burnard
Honored Contributor

Re: OS name

so what is the "junk" reply?
uname -a posted here would be good.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Ravi_8
Honored Contributor

Re: OS name

junk is ^jln.)$.
we knew that uname -a gives the detail. but the command uname returns the OS name. it works both in 10.2 as well in 11.0. in some file we need to make entry 'export OPERATING_SYSTEM=HP-UX' can u tell me which is this file.
never give up
Paula J Frazer-Campbell
Honored Contributor
Vincenzo Restuccia
Honored Contributor

Re: OS name

uname -a
uname -n
hostname
Paula J Frazer-Campbell
Honored Contributor

Re: OS name

Hi


Is "junk is ^jln.)$" from uname or uname -a?
If uname what does uname -a give please post it here.

Paula
If you can spell SysAdmin then you is one - anon
Alex Glennie
Honored Contributor
Solution

Re: OS name

/etc/rc.config.d/netconf ?
Ravi_8
Honored Contributor

Re: OS name

Hi, alex
thanx a lot. after making entry in the file which u have specified and after reboot uname returns HP-UX.
never give up