Category: General

Change Hostname

# Edit hostname file

vi /etc/sysconfig/network

HOSTNAME=$hostname

# Update with the new hostname

# Change hostname

hostname $hostname

Linux

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count: