[root@c5-sc-vcollege-cli01 ~]# ifconfig
[root@c5-sc-vcollege-cli01 ~]# ifconfig eth0
[root@c5-sc-vcollege-cli01 ~]# ifconfig eth0|grep 'inet'
[root@c5-sc-vcollege-cli01 ~]# ifconfig eth0|grep 'inet'|cut -d ':' -f2
[root@c5-sc-vcollege-cli01 ~]# ifconfig eth0|grep 'inet'|cut -d ':' -f2|cut -d ' ' -f1