linux命令之uname

本文详细介绍了如何通过使用Linux下的uname命令来查看系统的基本信息,包括内核名称、主机名、内核版本等,并解释了uname -r命令的具体含义,帮助读者更好地理解Linux系统架构。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

uname: 显示系统信息

  -a, --all                print all information, in the following order,
                             except omit -p and -i if unknown://显示全部信息
  -s, --kernel-name        print the kernel name // 显示内核名称
  -n, --nodename           print the network node hostname //显示主机名
  -r, --kernel-release     print the kernel release //显示内核的发行版本
  -v, --kernel-version     print the kernel version //显示内核版本
  -m, --machine            print the machine hardware name //显示硬件名
  -p, --processor          print the processor type or "unknown" //显示处理器名称
  -i, --hardware-platform  print the hardware platform or "unknown" //显示硬件平台类型
  -o, --operating-system   print the operating system //显示操作系统名

1.执行uname -r
在这里插入图片描述
3代表主版本号,有结构性变化才更改;10为此版本号,新增功能才会改变,奇数表示测试版,偶数表示开发版;0表示修订次数或者补丁包树;862代表编译次数;el代表企业版linux;x86_64表示64位

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

永远不要矫情

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值