/ mozey.co / blog

change ubuntu hostname

July 1, 2013

The hostname on Ubuntu can easily be changed.

sudo vi /etc/hostname

And view the new hostname.

hostname