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
What does awk stand for?
What do know about tee command?
what is the advaantage of each user having its own copy of the shell?
What are some command words?
Which command will print your home directory on screen?
What is sed awk grep?
What is the difference between grep and grep?
What is the difference between cat command and more command?
Which command is used to restrict incoming messages?
What are reported commands?
How does the system know where one command ends and another begins?
Describe the usage and functionality of the command rm –r * in unix?
Explain mount and unmount command.
What is the comma to display different lines that are found when compare two files?
How to use grep command to list find the records of a file containing 10 different strings?