linux基础安装包命令
ubuntu
# ifconfig
apt install net-tools
# ping
apt install iputils-ping
# ip
apt install iproute2
centos
# ifconfig
yum install net-tools
# ping
yum install iputils
# ip
yum install iproute
# 一键安装全部基础包命令,initscript——执行inittab命令的脚本。https://linux.die.net/man/5/initscript
yum install initscripts