uname.1 (1228B)
- .\" utils-std: Collection of commonly available Unix tools
- .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
- .\" SPDX-License-Identifier: MPL-2.0
- .Dd 2024-04-21
- .Dt UNAME 1
- .Os
- .Sh NAME
- .Nm uname
- .Nd return system name and information
- .Sh SYNOPSIS
- .Nm
- .Op Fl amnrsv
- .Sh DESCRIPTION
- .Nm
- prints the operating system name, and optionally more information about the system to standard output, separated by spaces.
- .Sh OPTIONS
- .Bl -tag -width __
- .It Fl a
- Enable all options, equivalent to passing
- .Fl mnrsv .
- .It Fl m
- Write machine name, also known as the processor architecture.
- .It Fl n
- Write network node name, also known as hostname.
- .It Fl p
- (non-standard) Write processor type. Currently aliased to
- .Fl m .
- .It Fl r
- Write running operating system release.
- .It Fl s
- Write running operating system name.
- .It Fl v
- Write version level of running operating system release.
- .El
- .Pp
- If no options are specified,
- .Nm
- prints the operating system as if
- .Fl s
- was specified.
- .Sh EXIT STATUS
- .Ex -std
- .Sh STANDARDS
- .Nm
- should be compliant with the
- IEEE Std 1003.1-2024 (“POSIX.1”)
- specification.
- .Pp
- The
- .Fl p
- option is an extension.
- .Sh AUTHORS
- .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me