关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

解决"-bash: netstat: command not found"问题

发布时间:2022/9/1 12:49:37
香港云服务器

今天八艾云有在安装软件的时候需要开放某个端口,用netstat检查端口的时候有出现"-bash: netstat: command not found"的问题。应该是缺少组件没有安装导致的,开始我还觉得直接yum install netstat就可以了,发现并不是这样的通过查阅资料看到需要这样。

yum install net-tools

集成在net-tools工具包中,这里我们将工具包软件都安装一下这样就可以解决。