First and foremost
# Debian/Ubuntu:
sudo apt-get install tcptraceroute
# CentOS/REHL:
sudo yum install tcptraceroute
Finally, download tcpping from the web.
cd /usr/bin
sudo wget https://blog-1256778493.cos.ap-hongkong.myqcloud.com/tcpping_1644385807254.
sudo chmod 755 /usr/bin/tcpping
Tcpping works:
# test target 80 port
tcpping www.google.com
# above same as bellow, 80 port is defult
tcpping www.google.com 80
# on linux system, that will do tcp ping continuously