2015-01-30 16:15:57 -05:00
|
|
|
.Dd January 30, 2015
|
2015-01-31 08:20:02 -05:00
|
|
|
.Dt HOSTNAME 1
|
2015-01-30 16:15:57 -05:00
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm hostname
|
|
|
|
.Nd set or print name of current host system
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Ar name
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
sets or prints the name of the current host. If no argument is given,
|
2013-08-19 12:22:46 -04:00
|
|
|
the name of the current host is printed.
|
2015-01-30 16:15:57 -05:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr hostname 7
|