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 StumbleUpon

Question:

How  to change  hostname  in Centos ?

Answer:

Open terminal and type the following command :

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


style=”display:inline-block;width:336px;height:280px”
data-ad-client=”ca-pub-2917661377128354″
data-ad-slot=”7129297751″>