How do I change and check the hostname of a SLES11 based system?


Use the hostname command or edit /etc/hostname

$ sudo hostname myhostname
  • This answer would be better if you, show an example, (don't forget sudo) – X Tian Sep 24 '15 at 14:33

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.