[ubuntu-uk] Changing name of computer

mac ammonius.grammaticus at gmx.co.uk
Sun Nov 15 13:54:04 GMT 2009


Sean Miller wrote:
> sudo hostname <whatever>
> 
> that's how I'd do it, rather than manually edit files.

Does the change persist across re-boots?  man hostname/dnsdomainname says

"When called with one argument or with the --file option, the commands 
  set the host name or the NIS/YP domain name.  Note that this is 
effective  only  until  the  next  reboot.  Edit /etc/hostname for 
permanent change."

mac




More information about the ubuntu-uk mailing list