uname
uname功能说明:显示系统信息。
语 法:uname [-amnrsv][--help][--version]
补充说明:uname可显示电脑以及操作系统的相关信息。
参 数:
-a或--all 显示全部的信息。
-m或--machine 显示电脑类型。
-n或-nodename 显示在网络上的主机名称。
-r或--release 显示操作系统的发行编号。
-s或--sysname 显示操作系统名称。
-v 显示操作系统的版本。
--help 显示帮助。
--version 显示版本信息。
uname
uname [options]
Print information about the machine and operating system. Without options, print the name of the kernel (Linux).
Options
Combine all the system information from the other options.
Print the system's hardware platform.
Print the name of the hardware that the system is running on.
Print the machine's hostname.
Print the operating system name.
Print the type of processor.
Print the release number of the kernel.
Print the name of the kernel (Linux). This is the default action.
Print build information about the kernel.
Display a help message and then exit.
Print version information and then exit.