Linux早期实现静态域名解析(即存放机器名与IP的映射)的一个文件是( )
A. /etc/dhcp
B. /etc/hosts
C. /etc/resolve.conf
D. /etc/services
用cat命令查看下列( )文件可以知道DNS服务器的IP地址
A. /etc/hosts
B. /etc/services
C. /etc/hosts
D. /etc/resolve.conf
RHEL6/Centos6中,查看主机名的命令是( )
A. host
B. name
C. hostname
D. systemctl
用ifconfig命令对网卡eth0设置IP为192.168.0.10,子网掩码为255.255.255.0 正确的是( )
A. ifconfig 192.168.0.10 255.255.255.0
B. ifconfig 192.168.0.10eht0 netmask 255.255.255.0
C. ifconfig eth0 192.168.0.10 netmask 255.255.255.0
D. ifconfig 192.168.0.10 netmask 255.255.255.0 eth0