CentOS7 查看IPGatewayDNSHostname

Posted ParamousGIS

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS7 查看IPGatewayDNSHostname相关的知识,希望对你有一定的参考价值。

 

1.查看IP
# ip addr

 

image

 

2.查看路由
# ip route

 

image

 

3.查看DNS
# cat /etc/resolv.conf

image

 

4.查看主机名
# hostname

image

以上是关于CentOS7 查看IPGatewayDNSHostname的主要内容,如果未能解决你的问题,请参考以下文章

怎么查看centos7的网络配置

centos7如何查看ip信息

centos7查看某个用户组都有哪些用户

centos7查看驱动安装好没有

CentOs7怎么查看系统版本

centos7怎么查看rpm包的路径