utorok 8. februára 2022

How to change hostname without reboot?

 How to change hostname without reboot? 





[root@station ~]# vi /etc/hostname


[root@station ~]# cat /etc/hostname

kosice.com



[root@station ~]# systemctl restart systemd-hostnamed.service

[root@station ~]# hostname -f

kosice.com


try connect again

Žiadne komentáre:

Zverejnenie komentára