From 64f4f4a728d3660cbb066ed519dfda435d0736de Mon Sep 17 00:00:00 2001 From: Gitea Date: Fri, 11 Dec 2020 07:28:40 -0600 Subject: [PATCH] Wrote the manual --- uname.1 | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 uname.1 diff --git a/uname.1 b/uname.1 new file mode 100644 index 0000000..27403be --- /dev/null +++ b/uname.1 @@ -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. \ No newline at end of file