Thursday, July 5, 2012

Change the hostname without logging out or restart in linux

echo “newhostname” > /proc/sys/kernel/hostname 


and you are done!!!



No comments:

Post a Comment