Tried "sudo su" then "nano /etc/hostname" I dont seem to find a way to save that. Ctrl+O change options at the bottom. Now, I have other options but not sure how to exit after actually saving it. It's not saved as hostname is the same after reboot as before.


To change your hostname, run the command below.

hostnamectl set-hostname "hostname"
  • I'll try that in the evening. Thank you.
    – elSolus
    Aug 13 at 1:52
  • It worked. Thanks a lot, Emrys.
    – elSolus
    Aug 13 at 12:04
  • No problem, eSolus!
    – Emrys
    Aug 13 at 18:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.