Wrote the manual

This commit is contained in:
Gitea 2020-12-11 07:28:40 -06:00
parent debd2b3b3f
commit 64f4f4a728
1 changed files with 49 additions and 0 deletions

49
uname.1 Normal file
View File

@ -0,0 +1,49 @@
.TH PWD 1
.SH NAME
uname \- print system name
.SH SYNOPSYS
.B uname
[\fB-amnrsv\fR]
.SH DESCRIPTION
.B uname
prints out the operating system name to standard output. Various options
correspond to various characteristics that can also be printed.
.SH OPTIONS
.TP
.BR \-a
Behaves as though \fB-mnrsv\fR were specified.
.TP
.BR \-m
Print the name of the hardware on which the system is running (e.g. x86).
.TP
.BR \-n
Print the name of this node on the network (i.e. the system's hostname).
.TP
.BR \-r
Print the current operating system release.
.TP
.BR \-s
Print the name of the operating system
.TP
.BR \-v
Print the current operating system version.
.SH EXIT STATUS
The following exit values are returned:
.TP
.BR 0
The program successfully did its thing.
.TP
.BR 1
Could not get the requested information.
.TP
.BR 2
Could not allocate space to store the requested information.
.SH AUTHOR
Written by Kat.
.SH COPYRIGHT
Copyright (C) 2020 The FENIX Project
.PP
This software is free software. Feel free to modify it and/or pass
it around.
.PP
This \fBuname\fR implementation is a part of the fenutils package.