Table of Contents
All operations which described here are system wide and should be performed by root or user with root permissions.
To edit hostname just edit /etc/hostname file and reboot.
To check hostname you can use hostname command.