Saturday, July 12, 2008

Bash Shell Command to Find or Get IP address

http://www.cyberciti.biz/faq/bash-shell-command-to-find-get-ip-address/
Type /sbin/ipconfig command to display IP address:

$ /sbin/ifconfig

OR type the following command:

$ /sbin/ifconfig less

Under Solaris and other Unixish oses you may need to type ifconfig command with -a option as following:

$ /sbin/ifconfig -a

Sphere: Related Content

0 comments: