如何查看linux信息


当前第2页 返回上一页

方法1:登陆Linux,在终端输入 cat /etc/issue

1

2

[root@localhost ~]# cat /etc/issue

\SKernel \r on an \m

方法2:登陆Linux,在终端输入 cat /etc/redhat-release

1

2

[root@localhost ~]# cat /etc/redhat-release

Red Hat Enterprise Linux Server release 7.6 (Maipo)

方法3:登陆Linux,在终端输入 lsb_release -a

1

2

3

4

5

6

[root@localhost ~]# lsb_release -a

LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch

Distributor ID: RedHatEnterpriseServer

Description:    Red Hat Enterprise Linux Server release 7.6 (Maipo)

Release:        7.6

Codename:       Maip

以上就是如何查看linux信息的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

Linux chown是什么意思?

pear Linux是什么意思?

Linux中如何解压zip文件

Linux shell ftp按照日期去下载文件的方法

Linux系统怎么学习

Linux不支持所有命令怎么办

如何查看Linux系统配置

Linux怎么卸载软件?

Linux图标为什么是企鹅?

Linux查看防火墙状态的方法有哪些

更多相关阅读请进入《Linux》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...