#下载rpm包
wget -c http://repo.openfusion.net/centos7-x86_64/bat-0.7.0-1.of.el7.x86_64.rpm
#yum安装
yum install -y bat-0.7.0-1.of.el7.x86_64.rpm
#使用
bat ping.sh
#效果
[root@localhost ~]# bat ping.sh
───────┬──────────────────────────────────────────────────────────────────────────
│ File: ping.sh
───────┼──────────────────────────────────────────────────────────────────────────
1 │ #! /bin/bash
2 │ for ip
BAT安装(cat替代)
最新推荐文章于 2025-02-21 13:31:46 发布