logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git

uname.1 (1115B)


  1. .\" utils-std: Collection of commonly available Unix tools
  2. .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. .\" SPDX-License-Identifier: MPL-2.0
  4. .Dd 2024-04-21
  5. .Dt UNAME 1
  6. .Os
  7. .Sh NAME
  8. .Nm uname
  9. .Nd return system name and information
  10. .Sh SYNOPSIS
  11. .Nm
  12. .Op Fl amnrsv
  13. .Sh DESCRIPTION
  14. .Nm
  15. prints the operating system name, and optionally more information about the system to standard output, separated by spaces.
  16. .Sh OPTIONS
  17. .Bl -tag -width __
  18. .It Fl a
  19. Enable all options, equivalent to passing
  20. .Fl mnrsv .
  21. .It Fl m
  22. Write machine name, also known as the processor architecture.
  23. .It Fl n
  24. Write network node name, also known as hostname.
  25. .It Fl r
  26. Write running operating system release.
  27. .It Fl s
  28. Write running operating system name.
  29. .It Fl v
  30. Write version level of running operating system release.
  31. .El
  32. .Pp
  33. If no options are specified,
  34. .Nm
  35. prints the operating system as if
  36. .Fl s
  37. was specified.
  38. .Sh EXIT STATUS
  39. .Ex -std
  40. .Sh STANDARDS
  41. .Nm
  42. should be compliant with the
  43. IEEE Std 1003.1-2024 (“POSIX.1”)
  44. specification.
  45. .Sh AUTHORS
  46. .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me