摘要:
thread=5 tmp_fifofile=/temp/$$.fifo mkfifo $tmp_fifofile exec 8$tmp_fifofile rm $tmp_fifofile for i in `seq $thread` do echo >&8 done while : do read -u 8 { ....代码 echo >&8 }& done... 阅读全文
摘要:
--stdin This option is used to indicate that passwd should read the new password from standard input, which can be a pipe. 这个选项用于从标准输入管道读入新的密码。 使用 ech 阅读全文
摘要:
df | grep '/$'| awk '{print $(NF-1)}' | awk -F'%' '{print $1}' 阅读全文