如何查看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下的计划任务――只执行一次的定时任务

Linux怎么卸载apache

Linux如何清空某目录内文件

如何给Linux配置ip地址

总结Linux下系统巡检常用命令

查看Linux操作系统有多少位

Linux系统如何查看系统内存与硬盘大小

怎么查看Linux文件

Linux sort多字段排序详解

Linux默认不显示当前路径怎么办

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



打赏

取消

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

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

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

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

评论

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