Main Menu

Search

LINUX: LINUX SLEEP COMMAND WITH COUNTDOWN SHOWN ON THE CONSOLE

Following is command to use. Change 15 as needed depending on the max sleep seconds number.

for i in {0..15}; do echo -ne "$i"'\r'; sleep 1; done; echo

 


Products to which Article Applies

All Linux Operating Systems

Search Keywords: Linux UNIX echo sleep count down countdown number numbers console show putty window windows command commands sleeping

Article Author: Tarun Boyella

 

No comments:

Post a Comment