How to find out machine specification in Unix?  

Sunday, April 12, 2009

Use 'uname -a' command

: /etc>uname -a
SunOS shark 5.8 Generic_117350-59 sun4u sparc SUNW,Sun-Fire-V440

SunOS - machine's OS

shark - machine hostname

5.8 - SunOS version (Solaris 5.8 means Solaris 8)

sparc - machine type

AddThis Social Bookmark Button
Email this post


How to check machine IP in Unix?  

Use the command 'ifconfig -a'

: /etc>ifconfig -a
lo0: flags=1000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843 mtu 1500 index 2
inet 9.100.90.140 netmask fffffe00 broadcast 9.100.90.255


The highlighted IP (9.100.90.140) above is the IP of the machine.

AddThis Social Bookmark Button
Email this post


Design by Amanda @ Blogger Buster