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 to find and replace the below command?
what are the different commands used to create files?
What is an Unix command to convert HEX value to ASCII value located in any flat file.
How would you find the size of a file or directory?
How to get a particular string as your prompt ? Give syntax of that command?
Explain command to view process running?
What is mtime in find command?
what are the differences between CUI and GUI interfaces?
52 Answers College School Exams Tests, HCL, HP, IBM, IBMR, NIIT, Talco, Wipro,
What difference between cmp and diff commands?
What does the command '$ls | wc –l > file1' do?
What is $0 bash?
what will be the output of ls ~/..