linux基本信息查看

1.ip查看:ip addr

2.网关: route -n

3.centos版本:  cat /etc/redhat-release

4.CPU型号、类型以及大小: cat /proc/cpuinfo

5.硬盘使用:df -h

6.磁盘分区: fdisk -l

7.内存使用情况: free

8.联网下时间校对:ntpdate us.pool.ntp.org

发布了193 篇原创文章 · 获赞 30 · 访问量 11万+

猜你喜欢

转载自blog.csdn.net/yiye2017zhangmu/article/details/102959172