本帖所有脚本均来自互联网,本站仅对这些脚本进行收集,以方便自己及各位基友使用。本站不对其可用性负责,也不对其安全性等任何方面负责。
cat /proc/cpuinfo

uname -a

ps -ef | grep <进程关键字>
Centosyum install ca-certificates wget -y && update-ca-trust force-enableDebian/Ubuntu:apt-get install ca-certificates wget -y && update-ca-certificates不卸载内核版本:wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh卸载内核版本:wget -O tcp.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

首先执行
hostnamectl set-hostname <newhostname>
然后执行下面的命令
vi /etc/hosts
在第二行增加一个 127.0.0.1 <newhostname>,同时将文件中的原主机名修改为刚设置的新主机名

wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh
bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)或bash <(wget -qO- --no-check-certificate https://github.com/spiritLHLS/ecs/raw/main/ecs.sh)
bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/qzcheck.sh)或bash <(wget -qO- --no-check-certificate https://github.com/spiritLHLS/ecs/raw/main/qzcheck.sh)

wget -qO- bench.sh | bash

wget -qO- git.io/superbench.sh | bash或wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash

bash <(curl -Lso- https://bench.im/hyperspeed)或bash <(wget -qO- https://bench.im/hyperspeed)

wget -qO- git.io/besttrace | bash

( * 部分截图 )
curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh

mkdir /root/besttracecd /root/besttracewget https://cdn.ipip.net/17mon/besttrace4linux.zipunzip besttrace4linux.zip解压之后会看到几个二进制文件,根据自己的系统选择对应文件。常用的: Linux X64系统:chmod +x besttrace./besttrace xxx.xxx.xxx.xxx # 此处输入需测试IPLinux X32位系统:chmod +x besttrace32./besttrace32 xxx.xxx.xxx.xxx # 此处输入需测试IPARM机型:chmod +x besttracearm./besttracearm xxx.xxx.xxx.xxx # 此处输入需测试IP
wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh && bash testrace.sh

( * 部分截图 )
wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh && chmod +x unixbench.sh && ./unixbench.sh

快速测试:curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast完整测试:curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s full
wget -qO- yabs.sh | bash或curl -sL yabs.sh | bash
bash <(curl -L -s check.unlock.media)尾部添加参数的释义:-M 4 只检测IPv4结果-M 6 只检测IPv6结果-I eth0 指定检测的网卡名称(例:eth0)-E 选择脚本语言为英文

bash <(curl -sSL "https://git.io/JswGm")

wget -q https://github.com/Aniverse/A/raw/i/a && bash a

telnet smtp.aol.com 25
如果看到类似下面的回显,则说明端口是开放的:
Trying 74.6.141.50…Connected to smtp.aol.g03.yahoodns.net.Escape character is ‘^]’.220 smtp.mail.yahoo.com ESMTP ready如果显示 Connection timed out ,说明25端口不开放。需要注意的是:部分服务商或是系统,需要在控制后台开放25端口,或需要开放系统防火墙端口。