This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| # 脚本名称: totrace | |
| # 适用系统: Debian/Ubuntu 等基于Debian的Linux发行版 | |
| # 功能: 交互式选择洲/国家/城市,执行globalping traceroute测试本机公网IPv4 | |
| # 颜色定义(美化输出) | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' |