[关闭]
@ghimi 2018-05-24T14:58:07.000000Z 字数 778 阅读 726

查看 linux 版本

linux bash 命令


  1. Usage: uname [OPTION]...
  2. Print certain system information. With no OPTION, same as -s.
  3. -a, --all print all information, in the following order,
  4. except omit -p and -i if unknown:
  5. -s, --kernel-name print the kernel name
  6. -n, --nodename print the network node hostname
  7. -r, --kernel-release print the kernel release
  8. -v, --kernel-version print the kernel version
  9. -m, --machine print the machine hardware name
  10. -p, --processor print the processor type (non-portable)
  11. -i, --hardware-platform print the hardware platform (non-portable)
  12. -o, --operating-system print the operating system
  13. --help display this help and exit
  14. --version output version information and exit
  15. GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
  16. Full documentation at: <http://www.gnu.org/software/coreutils/uname>
  17. or available locally via: info '(coreutils) uname invocation'
  1. # 示例命令
  2. uname -ar
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注