How to change hostname in centos | Tip

by
Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0Pinterest0StumbleUpon0Digg

Question:

How  to change  hostname  in Centos ?

Answer:

Open terminal and type the following command :

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

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0Pinterest0StumbleUpon0Digg