diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-04-22 03:11:53 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-04-22 03:11:53 -0500 |
commit | 7b782cd4082e4d8aae483b5e4b68b62063ec2615 (patch) | |
tree | 19fb46da5676d7d22fdb38de428609d5757da750 /hostname/hostname.1 | |
parent | dbd74ddb26b5a0494ed2f075e886e3450a7ede7b (diff) | |
download | shimmy-7b782cd4082e4d8aae483b5e4b68b62063ec2615.tar.gz shimmy-7b782cd4082e4d8aae483b5e4b68b62063ec2615.tar.bz2 shimmy-7b782cd4082e4d8aae483b5e4b68b62063ec2615.tar.xz shimmy-7b782cd4082e4d8aae483b5e4b68b62063ec2615.zip |
Add initial hostname(1) implementation
Diffstat (limited to 'hostname/hostname.1')
-rw-r--r-- | hostname/hostname.1 | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/hostname/hostname.1 b/hostname/hostname.1 new file mode 100644 index 0000000..94e12eb --- /dev/null +++ b/hostname/hostname.1 @@ -0,0 +1,36 @@ +.Dd April 22, 2022 +.Dt GETCONF 1 "Base Commands Manual" +.Os "Adélie Linux" +.Sh NAME +.Nm hostname +.Nd get or set node name +.Sh SYNOPSIS +.Nm +.Nm +.Op Fl F Ar filename +.Ar name +.Sh DESCRIPTION +In the first form, the +.Nm +utility prints the current node name on the running system. +.Pp +In the second form, the +.Nm +utility sets the currenet node name to the value specified. +.Sh OPTIONS +.Sh DIAGNOSTICS +.Ex -std +.Sh SEE ALSO +.Xr gethostname 3 , +.Xr getaddrinfo 3 , +.Xr getnameinfo 3 . +.Sh STANDARDS +The eventual goal for the +.Nm +utility is full conformance to LSB 5.0. +.Sh AUTHORS +.An A. Wilcox +.Aq awilfox@adelielinux.org +.Sh BUGS +Documentation is incomplete. NIS/YP domain name support is not available +in this release. Long options accepted by net-tools are not accepted. |