FENIX_coreutils/uname.1
2020-12-11 07:28:40 -06:00

49 lines
No EOL
1.1 KiB
Groff

.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.