Please check the manual page hostname(1).