Archive Post
Home / 系统运维
shc+upx加密bash shell脚本
1、安装shcmakeecho "y" |make install2、安装ucltar zvxf ./ucl-1.03.tar.gz -C /opt/./configure && make…
sshpass+rsync复制文件到远程主机
echo "<密码>" |sshpass -d0 rsync -av --timeout=120 --progress -e ssh…
Megacli查看硬盘的rebuild进度
MegaCli -PDList -aall 2>/dev/null | sed -n '/Enclosure Device ID/N;s/\n/\…
从APNIC(亚太注册机构)获取中国区IP地址网段信息的bash shell脚本
#!/bin/bash curl -sLk -o - http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest 2>/dev/null |grep 'apnic|CN|ipv4' |…
wondershaper网卡限速
解除网卡限速 /usr/bin/wondershaper -c -a<网卡> 对网卡进行限速 /usr/bin/wondershaper -a<网卡>-d<下行带宽kbps>-u<上行带宽kbps> 查看限速 /usr/bin/wondershaper -s…
wireguard两端配置
A端(流量节点): [Interface] PrivateKey = uDpppS+O0XUGUZWM4rhiGAx6yiEriT7MBc5ImmL0Wn0= ListenPort = 4784 (A端监听端口) PostUp…
awk进制数相互转换
十进制转十六进制 echo -n "4294967295" |awk '{printf"0x%x",$1}' 十六进制转十进制 echo "0xffffffff" |awk…