HOSTNAME

Print or set system name

SYNTAX
hostname [name]With no arguments, &qt;hostname&qt;&qt; prints the name of the current host system. With one argument, it sets the current host name to the specified string. You must have appropriate privileges to set the host name.

Tags: