链接

文件仓库

https://static.fly2x.com

Aria2NG Web UI

常用命令

硬盘IO速度测试

sync; dd if=/dev/zero of=/tmp/tempfile bs=1M count=1024; sync; rm /tmp/tempfile -rf;

安装LNMP

wget http://soft.vpser.net/lnmp/lnmp1.7.tar.gz -cO lnmp1.7.tar.gz && tar zxf lnmp1.7.tar.gz && cd lnmp1.7 && ./install.sh lnmp

安装BBR

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh
验证:运行sysctl net.ipv4.tcp_available_congestion_control返回值带BBR就成功了。

系统信息检测

bash <(curl -s https://raw.githubusercontent.com/Aniverse/A/i/a)

Bench.Monster

curl -LsO bench.monster/speedtest.sh; chmod +x speedtest.sh;sh speedtest.sh -all share

ZBench

wget -N --no-check-certificate https://github.com/FlyxFly/ZBench/raw/master/ZBench-CN.sh;sh ZBench-CN.sh

LemonBench

wget -qO- https://ilemonrain.com/download/shell/LemonBench.sh | bash -s fast

SuperBench

curl -Lso- -no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash

SuperSpeed三网测速

bash <(curl -Lso- https://git.io/superspeed)

Yet-Another-Bench-Script

curl -sL yabs.sh | bash

Besttrace

yum install unzip nano wget -y
cd /usr/local
rm besttrace4linux -rf
wget https://static.fly2x.com/soft/besttrace4linux.zip
mkdir besttrace4linux
cd besttrace4linux
unzip besttrace4linux.zip
chmod +x besttrace
echo "alias bt=\"/usr/local/besttrace4linux/besttrace -g cn -q 1\"" >> ~/.bashrc
source ~/.bashrc

Rclone 挂载

rclone mount myod:/ /home/onedrive --copy-links --allow-other --allow-non-empty --umask 000 --daemon

sshfs 挂载

sshfs root@[2a04:1234::1]:/home/remote_folder /home/local_folder -o IdentityFile=/home/private.key -o port=23333 -o allow_other

  • 取消挂载
    fusermount -u /home/local_folder或者umount /home/local_folder

复制文件,带进度条

rsync -avP source/ destination/

通过SSH从其他VPS复制文件

带进度条,如果出错,多运行几次,不会重新传输已有文件
rsync -Pavu -e "ssh -p 22 -i private.key" root@11.22.33.44:/source/ /destination/

将多个子目录下的文件移动到一个目录

用cmd命令行运行这个命令。
FOR /R "D:\源文件夹" %i IN (*.mp4) DO MOVE "%i" "D:\目标文件夹"

Hostloc论坛发链接

[url=[url][url]https://baidu.com[/url][/url]]自定义文字[/url]

aria2c 多线程下载

aria2c -x 5 -s 5 https://exmple.com/e.tar

Linux重命名特殊字符名称的文件

ls -i #查询inode编号
find . -inum 12321475 -exec mv {} new-filename \; # 重命名文件