while true;do echo `date +%T`;sleep 10 ;done
 
执行完那个代码,每十秒输出:
16:49:18
16:49:28
16:49:38
16:49:48
16:49:58
16:50:08
16:50:18