“uname” 可打印某些系统信息。若没有任何 OPTION 参数,等同参数 -s。
譬如:显示电脑及操作系统相关信息。
示例:uname -a
uname [OPTION]...
# | 参数 | EN 解释 | 中文翻译 | 备注 |
---|---|---|---|---|
01 | a, --a | print all information | 打印所有信息 | |
02 | , --kernel-nam | print the kernel nam | ||
03 | n, --nodenam | print the network node hostnam | ||
04 | , | p | 打印内核发行版本 | |
05 | v, --kernel-version | print the kernel version | 打印内核版本 | |
06 | m, --m | print the machine hardware nam | ||
07 | p, --p | print the processor type or "unknown | ||
08 | , --hardware-platform | print the hardware platform or "unknow | ||
09 | , --operating-system | print the operating system | ||
10 | p | play this help and ex | ||
11 | version | utput version information and exi |