tianyun 8 months ago
parent
commit
7fd3a17ca1
1 changed files with 12 additions and 0 deletions
  1. 12 0
      sh_config.sh

+ 12 - 0
sh_config.sh

@@ -428,3 +428,15 @@ generate_file() {
     # 使用dd命令生成文件
     dd if=/dev/urandom of="$filename" bs=$bs count=$size status=none
 }
+
+# 待测试
+function band_linux() {
+	if [ ! -f "$HOME/bandwhich" ]; then
+        cd ~
+		wget https://tianyunperfect1.oss-cn-beijing.aliyuncs.com/file/2024/11/bandwhich-v0.23.1-x86_64-unknown-linux-gnu.tar.gz
+        tar -zxvf bandwhich-v0.23.1-x86_64-unknown-linux-gnu.tar.gz
+        rm -rf ~/assert
+	fi
+
+	sudo ~/bandwhich
+}