1. 切换到安装目录
cd /usr/bin
2. 下载软件&安装基本运行库
wget https://source.mcbar.cn/tcpping
apt-get install bc tcptraceroute 或者yum -y install bc tcptraceroute -y
3. 赋予权限
chmod +x tcpping
4. 运行
tcpping <hostname or ip> <port>
cd /usr/bin
2. 下载软件&安装基本运行库
wget https://source.mcbar.cn/tcpping
apt-get install bc tcptraceroute 或者yum -y install bc tcptraceroute -y
3. 赋予权限
chmod +x tcpping
4. 运行
tcpping <hostname or ip> <port>
最后编辑: