I have updated my system's hostname in /etc/hostname file as master. I have also mapped my /etc/hosts file like
<ip> master
Still, when I type $ hostname, I get a different hostname.
I basically want to change my hostname from the default one to "master".
What file am I missing out?