678PDF
首页
软件
博客
工具箱
注册
登录
博客
›
老蒋部落
›
解决"-bash: netstat: command not found..
老蒋部落
2026-09-17 21:52
📁 应用部署
👁 2
解决"-bash: netstat: command not found"问题
今天老蒋有在安装软件的时候需要开放某个端口,用netstat检查端口的时候有出现"-bash: netstat: command not found"的问题。应该是缺少组件没有安装导致的,开始我还觉得直接yum install netstat就可以了,发现并不是这样的通过查阅资料看到需要这样。
> yum install net-tools
集成在net-tools工具包中,这里我们将工具包软件都安装一下这样就可以解决。
#netstat
#安装netstat
评论(0)
暂无评论
登录
后发表评论