On Fri, Oct 27, 2023 at 09:30:09AM -0400, Pocket wrote: > > > Sent from my iPad > > > On Oct 27, 2023, at 9:05 AM, Greg Wooledge <g...@wooledge.org> wrote: > > > > On Fri, Oct 27, 2023 at 07:59:00AM -0400, Pocket wrote: > >>> On 10/27/23 07:50, Greg Wooledge wrote: > >>> On Fri, Oct 27, 2023 at 07:29:20AM -0400, Pocket wrote: > >>>> /etc/hosts > >>> If you're using short-form hostnames like this: > >>> > >>> unicorn:~$ hostname > >>> unicorn > >>> > >>> then yeah, that's all you need. If you're using long-form hostnames > >>> (with dots in them), then you also need to configure /etc/hostname. > >>>
hostnamectl set-hostname is the command to do it - and will survive a reboot. Andy