Linux common commands-25: uname

The uname command is used to display system-related information, such as host name, kernel version number, hardware architecture, etc.

Syntax format: uname [parameter]

Common parameters:

Example

 # 显示主机名uname -n

 # 显示内核信息uname -r

 # 显示硬件架构信息uname -i

 # 显示所有信息uname -a

This article is reprinted from https://xugaoxiang.com/2022/06/06/linux-cmds-25-uname/
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment