摘要: 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... 阅读全文
posted @ 2019-08-06 23:40 酷酷的城池 阅读(1228) 评论(0) 推荐(0) 编辑
摘要: --stdin This option is used to indicate that passwd should read the new password from standard input, which can be a pipe. 这个选项用于从标准输入管道读入新的密码。 使用 ech 阅读全文
posted @ 2019-08-06 12:58 酷酷的城池 阅读(5967) 评论(0) 推荐(1) 编辑
摘要: df | grep '/$'| awk '{print $(NF-1)}' | awk -F'%' '{print $1}' 阅读全文
posted @ 2019-08-06 11:41 酷酷的城池 阅读(1881) 评论(0) 推荐(0) 编辑