您现在的位置是: 首页 > 运维 Debian/Ubuntu无netstat命令解决方案
Debian/Ubuntu无netstat命令解决方案
2020-05-20 【运维】 3012人已围观 5059次浏览
简介Debian/Ubuntu无netstat命令解决方案
Debian系统默认是不带netstat等命令的,如果使用就会出现下面的错误提示
-bash: netstat: command not found
这在日常的运维中是很不方便的,所以可以尝试下面的解决方案
sudo apt install net-tools
#如果需要ping的话,安装如下软件
sudo apt install iputils-ping
低版本的Debian中可能不支持直接 apt ,而是需要 apt-get ,请自行修改上面命令中的 apt
net-tools包含arp, ifconfig, netstat, rarp, nameif and route命令,如果使用这些命令报错,可以尝试安装。
很赞哦! (0)
相关文章
- LNMP 手动更新 SSL 证书
- Oracle ORA-12541:TNS:no listener错误解决方法
- 解决443端口被VMWare Workstation占用
- CentOS 安装 Docker
- Windows CMD 常用命令
- docker mysql 导入 SQL 脚本
- Redis 提示 MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk 解决方案
- Debian apt 使用国内镜像
- 解决Lost connection to MySQL server at 'reading initial communication packet' 的方法
- Linux no space left on device 出现设备上没有空间问题
点击排行
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
- RocketMQ 出现 sendDefaultImpl call timeout 问题
- Debian apt 使用国内镜像
- 类 BASE64Decoder 程序包 sun.misc 找不到符号
- SpringBoot @NotBlank 不生效问题
- 记一次 Mybatis-Plus 自动填充无效问题解决
- nuxt 项目完整部署方案
- SpringBoot 2.x 文件上传出现 The field file exceeds its maximum permitted size of 1048576 bytes
站长推荐
猜你喜欢
- Nginx转发阿里云OSS内网流量
- Linux 查看磁盘、磁盘分区、挂载磁盘、卸载磁盘操作
- 在使用Flutter进行网络请求时,使用Dio访问https地址出现unable to get local issuer certificate错误
- Zookeeper 找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain
- 常见端口号
- 删除Git仓库所有历史提交记录,成为一个干净的仓库
- Redis 提示 MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk 解决方案
- Chrome 谷歌浏览器清除HTTPS证书缓存
- Linux no space left on device 出现设备上没有空间问题
- Linux 常用命令 持续更新中...