Solved: How to change hostname in Redhat Linux

In this post we will see how to change hostname in Redhat Linux 4, 5, 6 and 7 .

For changing the hostname you should have root access. To switch to root do:-

sudo su -

If you want to change the hostname temporarily do as below:-

Udemy Black Friday Sale! Top Courses From $9.99

Continue reading “Solved: How to change hostname in Redhat Linux”