hostname

Usage: hostname [OPTION]... [HOSTNAME|-F FILE]

Get or set the hostname or DNS domain name. If a hostname is given (or a file with the -F parameter), the host name will be set.

Options:

			-s		Short
			-i		Addresses for the hostname
			-d		DNS domain name
			-F, --file FILE Use the contents of FILE to specify the hostname
		

Example:

			$ hostname
			slag