Sleep command of shell script

sleep command in linux shell

  • In some shells (such as bash in Linux) sleep also supports sleep (minutes, hours)
sleep 1		 睡眠1秒
sleep 1s   	 睡眠1秒
sleep 1m  	 睡眠1分
sleep 1h  	 睡眠1小时 

Guess you like

Origin blog.csdn.net/qq_33191599/article/details/101362672