ppwangs
2016-10-20 16:54:20 +08:00
$ hostname --help
Usage: hostname [OPTION...] [NAME]
Show or set the system's host name.
-a, --aliases alias names
-d, --domain DNS domain name
-f, --fqdn, --long DNS host name or FQDN
-F, --file=FILE set host name or NIS domain name from FILE
-i, --ip-addresses addresses for the host name
-s, --short short host name
-y, --yp, --nis NIS/YP domain name
-?, --help give this help list
--usage give a short usage message
-V, --version print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
Report bugs to <bug-inetutils@gnu.org>.