<返回

如何查看当前Linux系统的版本

时间:2023-05-24


注:proc目录下记录的当前系统运行的各种数据,version记录的版本信息可以通过cat查看到。

1. 使用命令:cat /proc/version
如何查看当前Linux系统的版本

proc目录下记录的当前系统运行的各种数据,version记录的版本信息可以直接通过cat查看到,还可以看到gcc版本信息。

2. 使用命令:uname -a

如何查看当前Linux系统的版本

如上图显示自己的内核版本,并且可以查看系统是32位(i386);

$uname-mi38612

3. 使用命令:lsb_release -a

如何查看当前Linux系统的版本

#lsb_release--helpUsage:lsb_release[options]Options:-h,--helpshowthishelpmessageandexit-v,--versionshowLSBmodulesthissystemsupports-i,--idshowdistributorID-d,--descriptionshowdescriptionofthisdistribution-r,--releaseshowreleasenumberofthisdistribution-c,--codenameshowcodenameofthisdistribution-a,--allshowalloftheaboveinformation-s,--shortshowrequestedinformationinshortformat123456789101112

4. 使用命令:cat /etc/issue

如何查看当前Linux系统的版本

以上就是如何查看当前Linux系统的版本的详细内容,更多请关注Gxl网其它相关文章!

相关文章
最新文章
热门推荐
网友评论