.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. .TH HOSTNAME "1" "December 2023" "GNU inetutils 2.5" "User Commands" .SH NAME hostname \- show or set system host name .SH SYNOPSIS .B hostname [\fI\,OPTION\/\fR...] [\fI\,NAME\/\fR] .SH DESCRIPTION Show or set the system's host name. .TP \fB\-a\fR, \fB\-\-aliases\fR alias names .TP \fB\-d\fR, \fB\-\-domain\fR DNS domain name .TP \fB\-f\fR, \fB\-\-fqdn\fR, \fB\-\-long\fR DNS host name or FQDN .TP \fB\-F\fR, \fB\-\-file\fR=\fI\,FILE\/\fR set host name or NIS domain name from FILE .TP \fB\-i\fR, \fB\-\-ip\-addresses\fR addresses for the host name .TP \fB\-s\fR, \fB\-\-short\fR short host name .TP \fB\-y\fR, \fB\-\-yp\fR, \fB\-\-nis\fR NIS/YP domain name .TP \-?, \fB\-\-help\fR give this help list .TP \fB\-\-usage\fR give a short usage message .TP \fB\-V\fR, \fB\-\-version\fR print program version .PP Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. .SH AUTHOR Written by Debarshi Ray. .SH "REPORTING BUGS" Report bugs to . .SH COPYRIGHT Copyright \(co 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" The full documentation for .B hostname is maintained as a Texinfo manual. If the .B info and .B hostname programs are properly installed at your site, the command .IP .B info hostname .PP should give you access to the complete manual.