北京什么医院看白癜风好 http://wapyyk.39.net/bj/zhuanke/89ac7.html在centos6自带ifconfig
在centos7默认不带ifconfig,需要自己安装
ifconfig命令用来配置或查看网卡接口,常见用法如下:
安装ifconfig命令
[root
mysql~]#yuminstallnet-tools-y
操作系统基本配置查询
1、查看操作系统版本
[root
localhost~]#cat/etc/redhat-release
CentOSLinuxrelease8.2.(Core)
[root
localhost~]#
2、查看操作系统内核版本
[root
localhost~]#uname-r
4.18.0-.el8.x86_64
3、查看操作系统详细信息
[root
localhost~]#more/etc/*release
:::::::::::::
/p>
/etc/centos-release
:::::::::::::
/p>
CentOSLinuxrelease8.2.(Core)
:::::::::::::
/p>
/etc/os-release
:::::::::::::
/p>
NAME="CentOSLinux"
VERSION="8(Core)"
ID="centos"
ID_LIKE="rhelfedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOSLinux8(Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos
"
HOME_URL="