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 is the command to view process running?

673


How do I use grep to search for a file?

670


What happens when we execute a unix command?

694


What is “chmod” command?

645


Who invented grep?

737






What is the first character of the output in ls l command?

729


How to find $ai_serual resolved path by using unix

1140


What is .sh file?

729


What is difference between grep and find command in unix?

668


What does the md command do?

659


Which command is used to create a directory?

660


How to display no of records in oracle using unix command?

674


Describe the zip/unzip command using gzip.

709


Is grep faster than awk?

647


What is the use of egrep command in unix?

704