My current hostname on PCLOS is localhost or something rather. I would like to change it, but wasn't sure how PCLOS set the system's hostname.
It would seem that Debian-based systems use the /etc/hostname file to set the hostname, whereas Red Hat based systems use /etc/sysconfig/network. I assumed that PCLOS was closer to Red Hat and went looking for the latter file, but I can't find it.
I tried this command
sysctl kernel.hostname=NEW_HOSTNAME
but it didn't change the hostname of my computer.
I don't want to be localhost forever!
