Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Unix (http://www.go4expert.com/forums/unix-forum/)
-   -   command to know which OS we are using (http://www.go4expert.com/forums/command-os-using-t10724/)

sharmila 22May2008 11:35

command to know which OS we are using
 
Hi All,
Can anyone let me know what is command to know which operating syatem we are using?

Reagrds,
Sharmila.

shabbir 22May2008 15:30

Re: command to know which OS we are using
 
Refer - OS version detection for 32 and 64 bit OS.

sharmila 23May2008 00:25

Re: command to know which OS we are using
 
Hi Shabbir,
The article was good and I really don't know about this..

Actually my usecase is something like, we work on linux sys., but some time s we need to work on Solaris.. we know only the servers name and by using telnet we connect to the server. By seeing the name of teh machine we can't know it's OS, so will there be any command or any location in file system will tell us which OS it has?

Regards,
Sharmila.

shabbir 23May2008 08:23

Re: command to know which OS we are using
 
It would depend on OS to OS and you probably need to get the list of commands supported by the OS.

pradeep 23May2008 15:36

Re: command to know which OS we are using
 
type the command
Code:

uname -a


sharmila 23May2008 18:08

Re: command to know which OS we are using
 
Thanks pradeep.. got it....

shabbir 23May2008 20:40

Re: command to know which OS we are using
 
Add some to Pradeep's Reputation using http://www.go4expert.com/images/buttons/reputation.gif icon near the post made by pradeep.

shanthi_amirtha 21Sep2010 15:13

Re: command to know which OS we are using
 
command to know which OS we are using
Code:
uname -o

[/quote]


All times are GMT +5.5. The time now is 21:45.