linux怎么看系统版本

linux怎么看系统版本

linux怎么看系统版本

通用方法查看:

1、uname -a   (Linux查看版本当前操作系统内核信息)

Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 athlon i386 GNU/Linux

2、cat /proc/version (Linux查看当前操作系统版本信息)

Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com)(gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003

3、cat /etc/issue

Red Hat Enterprise Linux AS release 4 (Nahant Update 8)Kernel /r on an /m

RedHat系列查看:

1、cat /etc/redhat-release 

Red Hat Enterprise Linux AS release 4 (Nahant Update 8)

2、lsb_release -a

简篇AI排版 简篇AI排版

AI排版工具,上传图文素材,秒出专业效果!

简篇AI排版 554 查看详情 简篇AI排版

LSB Version: :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarchDistributor ID: RedHatEnterpriseASDescription: Red Hat Enterprise Linux AS release 4 (Nahant Update 8)Release: 4Codename: NahantUpdate8

Debian系列查看:

1、cat /etc/debian_version

9.0

2、cat /etc/os-release

PRETTY_NAME="Debian GNU/Linux 9 (stretch)"NAME="Debian GNU/Linux"VERSION_ID="9"VERSION="9 (stretch)"ID=debianHOME_URL="https://www.debian.org/"SUPPORT_URL="https://www.debian.org/support"BUG_REPORT_URL="https://bugs.debian.org/"

3、hostnamectl 

   Static hostname: debian         Icon name: computer-vm           Chassis: vm        Machine ID: 6866ec1d654b4a2ea52d591dc0146d82           Boot ID: 51bfbc1e197b4d378e95073da0df0288    Virtualization: xen  Operating System: Debian GNU/Linux 9 (stretch)            Kernel: Linux 4.9.0-1-amd64      Architecture: x86-64

推荐:linux系统教程

以上就是linux怎么看系统版本的详细内容,更多请关注创想鸟其它相关文章!

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 chuangxiangniao@163.com 举报,一经查实,本站将立刻删除。
发布者:程序猿,转转请注明出处:https://www.chuangxiangniao.com/p/339611.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2025年11月5日 17:42:04
下一篇 2025年11月5日 17:42:48

相关推荐

发表回复

登录后才能评论
关注微信