Finish up hostname(1)
This commit is contained in:
parent
bcf264f9cd
commit
01195fa7e5
2
README
2
README
|
@ -34,7 +34,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
|
||||||
#* fold yes none
|
#* fold yes none
|
||||||
=* grep yes none
|
=* grep yes none
|
||||||
=* head yes none
|
=* head yes none
|
||||||
= hostname non-posix none
|
=* hostname non-posix none
|
||||||
=* kill yes none
|
=* kill yes none
|
||||||
=* link yes none
|
=* link yes none
|
||||||
=* ln yes none
|
=* ln yes none
|
||||||
|
|
|
@ -3,13 +3,16 @@
|
||||||
.Os sbase
|
.Os sbase
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm hostname
|
.Nm hostname
|
||||||
.Nd set or print name of current host system
|
.Nd set or print host name
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Op Ar name
|
.Op Ar name
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
sets or prints the name of the current host. If no argument is given,
|
sets the current host name to
|
||||||
the name of the current host is printed.
|
.Ar name .
|
||||||
|
If no
|
||||||
|
.Ar name
|
||||||
|
is given, the current host name is written to stdout.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr hostname 7
|
.Xr hostname 7
|
||||||
|
|
Loading…
Reference in New Issue
Block a user