As we known, being a staff of IT maintanance team, I used to get the IP address from the network configuration, I use this shell script to get the IP address: [root@yoyojacky ~]# cat getip.sh #!/bin/bash # This script is for getting IP address from your local network configuration. # 2013-02-25 # Email: yoyojacky2009@gmail.com #