How to get the operating system's information in unix?
Answers were Sorted based on User's Feedback
Answer / sameer
uname -a
It will tell you all the OS runing on ur Unix machine.
| Is This Answer Correct ? | 19 Yes | 2 No |
Answer / 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 |
Answer / vasavi
uname -X
here uname is unix name with the extension
| Is This Answer Correct ? | 11 Yes | 4 No |
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What are file permissions in Unix, and how are they represented?
What are some command words?
what is difference between unix and linux?
How to convert a hidden file to normal visible file?
What is FIND, GREP and SED ? Could you please give me the difference between all the three? Where we use this commnands?
how to sort the content of the file based on numeric values
What does this command do? Cat food 1 > kitty
How to remove a crontab file?
What is the nmap command?
How do you find files in Unix?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?