Polecenie hostname
Wykonanie, użycie: Set or display name of current host system. A privileged user can set the hostname with the nameofhost argument
Opcje wykonania hostname
w konsoli
Display the alias name of the host (if used).
Display DNS domain name.
Display fully qualified domain name.
Consult file for hostname.
Display a help message and then exit.
Display the IP address(es) of the host.
Display or set the DECnet node name.
Trim domain information from the display output.
Verbose mode.
Display version information and then exit.
Display the NIS domain name. A privileged user can set a new NIS domain name with nameofhost.
Przykłady hostname działanie w Słownik polecenie H