How to get the operating system's information in unix?

Answer Posted / c sivakumar. kumarsiva46@yaho

We can get os release level alone by executing below said
command.
command = uname -r
Output = 5.9

and you can use 'uname -X'. It will display below details:-

System = SunOS
Node = charger2
Release = 5.9
KernelID = Generic_117171-07
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 4

But if you want complete details, please execute below said
command.

command = uname -a
Output = SunOS bigmummy2 5.9 Generic_117171-07 sun4u sparc
SUNW,Sun-Fire-480R.

Above said command output details are following below:-

operating system = SunOS
node name = bigmummy2
OS release level = 5.9
OS version = Generic_117171-07
Machine hardware name = sun4u
processor type = sparc
HardwareImplimentation = SUNW,Sun-Fire-480R

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the general commands in using unix os for a beginner?

575


What is the use of sed command in unix?

587


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

949


Using unix command how to display no of records in oracle?

599


Why is it called a shebang?

566






What command is used to check the current users?

588


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

582


What are the unix commands?

545


What is command substitution?

617


How do I find previous commands in unix?

592


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

755


What is the function of grep command in unix?

580


How to use grep command to list find the records of a file containing 10 different strings?

643


What does touch command do in unix?

719


How do I use grep to search for a file?

578