Debian Codegraph @

upstream/debian-unstable/man1/inetutils-hostname.1

raw
1 .\" Copyright © 2015 Free Software Foundation, Inc.
2 .\" License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
3 .\"
4 .\" This is free software: you are free to change and redistribute it.
5 .\" There is NO WARRANTY, to the extent permitted by law.
6 .Dd February 1, 2019
7 .Dt hostname 1 URM
8 .Os "GNU Network Utilities"
9 .Sh NAME
10 .Nm hostname
11 .Nd show or set the system host name
12 .Sh SYNOPSIS
13 .Nm hostname
14 .Op Ar option ...
15 .Op Ar name
16 .Sh DESCRIPTION
17 Show the system's host name, or set it if
18 .Ar name
19 is specified.
20 .Sh OPTIONS
21 .Bl -tag -width Ds
22 .It Fl a , -aliases
23 Also show aliases for the host name.
24 .It Fl d , -domain
25 Show the DNS domain name.
26 .It Fl f , -fqdn , -long
27 Show the DNS host name or FQDN.
28 .It Fl F , -file Ar file
29 Set the host name or NIS domain name from
30 .Ar file .
31 .It Fl i , -ip-addresses
32 Show the addresses for the host name.
33 .It Fl s , -short
34 Show the short host name.
35 .It Fl y , -yp , -nis
36 Show the NIS/YP domain name.
37 .It Fl ? , -help
38 Give this help list.
39 .It Fl -usage
40 Give a short usage message.
41 .It Fl V , -version
42 Print program version.
43 .El