NAME hostname - Display and modify hostname SYNOPIS hostname [NEW NAME] [--update] EXAMPLES hostname Prints currently set hostname hostname test Sets hostname of this computer to test hostname --update Updates $HOSTNAME by reading /etc/hostname in case it was set manually. Does not print to stdout