I'm currently trying to edit my hostname in a RedHat Enterprise Linux 6 virtual machine but I have some problem.
I tried using the function hostname
like this:
hostname -v bravo.cmweb.com
And it works, I call the function and the hostname as been edited successfuly.
Then, I reboot the machine et then, oups, the hostname is again localhost.localdomain
.
Now, I want to ask: how I can edit permanently the hostname in Linux??