Wednesday, March 29, 2006

Print system information under Linux

'uname' prints information about the machine and operating system it is run on.
% uname -a

Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:18:24 EST 2003 i686 athlon i386 GNU/Linux

Use this command if you want to know any of the following information
kernel name
network node hostname
kernel release
kernel version
machine hardware name
processor type
hardware platform
operating system

If you are interested in knowing information about the kernel distribution then use `cat /etc/issue` The output of which will be something as below (on Red Hat ofcourse)
Red Hat Linux release 9 (Shrike)
Kernel \r on an \m

No comments: