服务器脚本分享

测速脚本

测速

SpeedTest

仅给出debian/ubuntu使用方法

text
curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash #添加库apt install speedtest #安装speedtest #开始测速

一个来自Github的测速脚本

text
bash <(curl -sL https://raw.githubusercontent.com/i-abc/Speedtest/main/speedtest.sh)

直接运行即可,具体教程 点我查看项目 或者软件提示

其他杂项

测试线路回程

text
curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh
text
curl -O https://raw.githubusercontent.com/vpsxb/testrace/main/testrace.sh && bash testrace.sh

回程ip测试脚本(路由追踪)

text
wget https://raw.githubusercontent.com/vpsxb/testrace/main/testrace.sh -O testrace.sh && bash testrace.sh

流媒体测试

text
bash <(curl -L -s check.unlock.media) -M 4 #后面的4换成6就是测试ipv6

缝合怪脚本

text
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh

强烈推荐这个脚本

科技lion脚本

text
curl -sS -O https://raw.githubusercontent.com/kejilion/sh/main/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh

IP体检

text
bash <(curl -Ls IP.Check.Place)

网络质量检测

text
bash <(curl -sL Net.Check.Place)

获取当前ip

text
curl myip.ipip.net

一键更改国内镜像源

text
bash <(curl -sSL https://linuxmirrors.cn/main.sh)
题解:P2679 [NOIP2015 提高组] 子串
C++ STL 标准库合集

评论

评论加载中...