phpman > man > uname

Markdown | JSON | MCP    

TLDR: uname (tldr-pages)

Print details about the current machine and the operating system running on it.

  • Print kernel name
    uname
  • Print all available system information
    uname {{-a|--all}}
  • Print system architecture and processor information
    uname {{-mp|--machine --processor}}
  • Print kernel name, kernel release, and kernel version
    uname {{-srv|--kernel-name --kernel-release --kernel-version}}
  • Print system hostname
    uname {{-n|--nodename}}
  • Print the current operating system name
    uname {{-o|--operating-system}}
  • Display help
    uname --help
UNAME(1)                                    User Commands                                   UNAME(1)



NAME
       uname - print system information

SYNOPSIS
       uname [OPTION]...

DESCRIPTION
       Print certain system information.  With no OPTION, same as -s.

       -a, --all
              print all information, in the following order, except omit -p and -i if unknown:

       -s, --kernel-name
              print the kernel name

       -n, --nodename
              print the network node hostname

       -r, --kernel-release
              print the kernel release

       -v, --kernel-version
              print the kernel version

       -m, --machine
              print the machine hardware name

       -p, --processor
              print the processor type (non-portable)

       -i, --hardware-platform
              print the hardware platform (non-portable)

       -o, --operating-system
              print the operating system

       --help display this help and exit

       --version
              output version information and exit

AUTHOR
       Written by David MacKenzie.

REPORTING BUGS
       GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
       Report any translation bugs to <https://translationproject.org/team/>

COPYRIGHT
       Copyright  ©  2020 Free Software Foundation, Inc.  License GPLv3+: GNU GPL version 3 or later
       <https://gnu.org/licenses/gpl.html>.
       This is free software: you are free to change and redistribute it.  There is NO WARRANTY,  to
       the extent permitted by law.

SEE ALSO
       arch(1), uname(2)

       Full documentation <https://www.gnu.org/software/coreutils/uname>
       or available locally via: info '(coreutils) uname invocation'



GNU coreutils 8.32                          January 2026                                    UNAME(1)

Generated by phpman v3.7.12 Author: Che Dong Under GNU General Public License
2026-06-14 09:04 @2600:1f28:365:80b0:75ad:aeea:19c7:a4f2
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 TransitionalValid CSS!