diff --git a/src/alias.txt b/src/alias.txt index e6811a1..9190e5c 100644 --- a/src/alias.txt +++ b/src/alias.txt @@ -198,13 +198,14 @@ function wdt() { testfile_size=2048 echo -e "\n使用默认值: ${testfile_size}MB" fi - echo "------------" - echo "写入速度如下" + echo "-------------" + echo "写入速度如下:" time dd if=/dev/zero of=./testfile bs=1M count=${testfile_size} oflag=direct - echo "------------" - echo "读取速度如下" + echo "-------------" + echo "读取速度如下:" time dd if=./testfile of=/dev/null bs=1M rm ./testfile + echo "-------------" echo "测试文件已删除" }