2013年6月17日

倒计时

摘要: echo -n Count;tput sccount=0;while true;doif [ $count -lt 40 ];then let count++;sleep 1;tput rctput edecho -n $count;else exit 0;fidone 阅读全文

posted @ 2013-06-17 14:05 awk 阅读(117) 评论(0) 推荐(0)

检查一组命令所花的时间

摘要: start=$(date +%s)commands;statements;end=$(date +%s)difference=$(( end - start ))echo Time taken to execute commands is $difference seconds. 阅读全文

posted @ 2013-06-17 13:46 awk 阅读(142) 评论(0) 推荐(0)

导航