How to know the operating system details on a unix based machine?

Tags: mac uname iphone unix bsd processor Technopole
Posted on: 2010-04-15 01:00:26 , Updated on: 2017-08-16 17:28:19 How to know the operating system details on a unix based machine?

You can use the following command to find the different parameters of the machine and the system including the version, hardware, node name, processor etc.

$ uname -a
The result from mac:
Darwin localhost 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
The result from iphone:
Darwin Irfan-TOOR 10.0.0d3 Darwin Kernel Version 10.0.0d3: Fri Sep 25 23:30:45 PDT 2009; root:xnu-1357.5.30~3/RELEASE_ARM_S5L8900X iPhone1,2 arm N82AP Darwin