摘要:
echo stu{01..20}|xargs -n 1 > nginx.conf 空行不计数的: nl nginx.conf 空行计数的: cat -n nginx.conf vi/vim nginx.conf; :set nu/set nonu awk '{print NR,$0}' nginx. 阅读全文
摘要:
创建n天前的日志 mkdir /home/llj/app/logs -pcd /home/llj/app/logsfor n in `seq 14` ;dodate -s "2016/10/$n";touch access_www_$(date +%F).log ;donedate -s '2016 阅读全文