1 查看版本号
命令:lsb_release -r 或 lsb_release -a
效果
liuyx@ubuntu:~$ lsb_release -r
No LSB modules are available.
Release: 24.04
liuyx@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
2 查看内核版本号
命令: uname -r 或 uname -a
效果
liuyx@ubuntu:~$ uname -r
6.8.0-41-generic
liuyx@ubuntu:~$ uname -a
Linux ubuntu 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
386

被折叠的 条评论
为什么被折叠?



