How to change hostname in centos | Tip

by

Please shareShare on Facebook0Share on Google+0Tweet about this on Twitter0Share on LinkedIn0Share on Reddit0Digg thisShare on StumbleUpon0Share on VKBuffer this page

Question:

How  to change  hostname  in Centos ?

Answer:

Open terminal and type the following command :

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