# CentOS/RHEL
yum install tcptraceroute && \
wget http://www.vdberg.org/~richard/tcpping -O /usr/bin/tcping && \
chmod +x /usr/bin/tcping
# Debian/Ubuntuapt-get install tcptraceroute && \
wget http://www.vdberg.org/~richard/tcpping -O /usr/bin/tcping && \
chmod +x /usr/bin/tcping
#使用方法
tcping IP Port