2015-01-30 21:15:57 +00:00
|
|
|
.Dd January 30, 2015
|
2015-01-31 13:20:02 +00:00
|
|
|
.Dt HOSTNAME 1
|
2015-01-31 19:37:03 +00:00
|
|
|
.Os sbase
|
2015-01-30 21:15:57 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm hostname
|
2015-01-31 23:03:03 +00:00
|
|
|
.Nd set or print host name
|
2015-01-30 21:15:57 +00:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Ar name
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2015-01-31 23:03:03 +00:00
|
|
|
sets the current host name to
|
|
|
|
.Ar name .
|
|
|
|
If no
|
|
|
|
.Ar name
|
2015-02-01 19:52:28 +00:00
|
|
|
is given, the current hostname is written to stdout.
|
2015-01-30 21:15:57 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr hostname 7
|