centos7在安裝時,沒有安裝netstat和ifconfig命令;
直接敲如下命令就可以搞定:
yum install wget
yum install net-tools?
netstat常用命令:
netstat -an | grep LISTEN ?
netstat -an|grep 80
yum search ifconfig
通過yum search 這個命令我們發(fā)現(xiàn)ifconfig這個命令是在net-tools.x86_64這個包里,接下來我們安裝這個包就行了文章來源:http://www.zghlxwxcb.cn/news/detail-434437.html
運(yùn)行??yum install net-tools??就OK了文章來源地址http://www.zghlxwxcb.cn/news/detail-434437.html
到了這里,關(guān)于centos7.0 沒有netstat 和 ifconfig命令問題的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!