# ubuntu/debian:
apt-get install git -y
apt-get update
apt-get install git -y

bash: curl: command not found

apt update && apt install -y curl

-bash: wget: command not found

apt update && apt install -y wget

查询各ip到你服务器的连接数

netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr

● tcp丢包率测试

apt install hping3
hping3 -S -p 22 -c 100 <目标服务器IP>

● Docker 常用命令

最后修改:2026 年 06 月 05 日
如果觉得我的文章对你有用,请随意赞赏