In this blogpost we will see how we can change the hostname on Oracle Linux 9 Operating System. We can change hostname on Oracle Linux 9 using the simple "hostnamectl" command without restarting any services and it will be reflected immediately on the host.
Check the current hostname:
Comments