2015-02-28 20:22:55 +00:00
|
|
|
.Dd February 28, 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-28 20:22:55 +00:00
|
|
|
is given, the current host name is written to stdout.
|
2015-01-30 21:15:57 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr hostname 7
|