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