Change hostname without reboot on CentOS 7.xx
hostnamectl status
change current host name
and then
hostnamectl set-hostname xxxxxxxxx(here host name)
and then again check
hostnamectl status
Thanks
hostnamectl status
change current host name
and then
hostnamectl set-hostname xxxxxxxxx(here host name)
and then again check
hostnamectl status
Thanks