Please Make a Note is a collection of science & technology tips and derivations that will make it easier for research scientists & engineers to perform the various tasks they are faced with. These notes cover a wide range of scientific topics, software, media, and data analysis utilities.
Pages
▼
Friday, August 13, 2010
How to Change Computer Name or Hostname in Linux
The hostname is stored in the file
/etc/hostname
You can edit that with your favorite editor. I use emacs:
I once looked into this problem. I just recall there are 3 places to modify. And for RHEL/centos is different from Unbuntu...
ReplyDeleteI don't have my note with me here, maybe not accurate.