-b block(塊設備)
-c charactor(字符)
-d directory(目錄)
-e exit(存在)
-f file(文件)
-L link(鏈接)
-p pipeline(管道)
-S SOCKET(套接字)
-c charactor(字符)
-d directory(目錄)
-e exit(存在)
-f file(文件)
-L link(鏈接)
-p pipeline(管道)
-S SOCKET(套接字)
2016-11-16
[root@zdy-centos sh]# df -h | grep "/$"
/dev/sda5 26G 3.4G 23G 14% /
/dev/sda5 26G 3.4G 23G 14% /
2016-11-15
最新回答 / ELLIOT4038596
把pass變量的值?? 傳遞到下一條命令 passwd -stdin $name里執行完后用輸出重定向的方式丟進黑洞里 (/dev/null)
2016-11-13
感謝tony老師 讓我在Linux入門過程中感到Linux濃厚趣味
在最后這門課給你個 大大 的 贊!?。。。。。。。。。。。?也希望你能再出些好課
謝謝你 帶我入門Linux
在最后這門課給你個 大大 的 贊!?。。。。。。。。。。。?也希望你能再出些好課
謝謝你 帶我入門Linux
2016-11-07
[ -e /root/install.log]
-bash: [: missing `]'
系統是centos6.8請問這是什么原因呢?
-bash: [: missing `]'
系統是centos6.8請問這是什么原因呢?
2016-11-02
#!/bin/bash
#
RATE=`df -h | grep "/dev/sda5" | awk '{print $5}' | cut -d "%" -f 1`
if [ "$RATE" -le "10" ]; then
echo "/ is null, only $RATE"
fi
#
RATE=`df -h | grep "/dev/sda5" | awk '{print $5}' | cut -d "%" -f 1`
if [ "$RATE" -le "10" ]; then
echo "/ is null, only $RATE"
fi
2016-10-29