xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

uname -a

Linux shell command

https://en.wikipedia.org/wiki/Uname#:~:text=uname

$ uname
# Darwin

$ uname -a
# Darwin xgqfrms-mbp.local 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64

man uname

$ man uname

UNAME(1)                  BSD General Commands Manual                 UNAME(1)

NAME
     uname -- Print operating system name

SYNOPSIS
     uname [-amnprsv]

DESCRIPTION
     The uname utility writes symbols representing one or more system charac-
     teristics to the standard output.

     The following options are available:

     -a      Behave as though all of the options -mnrsv were specified.

     -m      print the machine hardware name.

     -n      print the nodename (the nodename may be a name that the system is
             known by to a communications network).

     -p      print the machine processor architecture name.
:

refs

https://www.man7.org/linux/man-pages/man2/uname.2.html

https://github.com/wertarbyte/coreutils/blob/master/src/uname.c

https://www.freebsd.org/cgi/man.cgi?query=uname&sektion=3&n=1

https://www.nsc.ru/cgi-bin/www/unix_help/unix-man?uname+3



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


原文地址:https://www.cnblogs.com/xgqfrms/p/13599290.html