Wednesday, July 28, 2010

Linux Network Commands

#Get current IP
ifconfig

#Release
dhclient -r

#Get new ip
dhclient

#Restart network
/etc/init.d/networking restart

No comments:

Post a Comment