How to change hostname in centos | Tip

by

Please shareShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on RedditDigg thisShare on StumbleUponShare 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