DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash inline countdown
secs=$((5 * 60)) while [ $secs -gt 0 ]; do echo -ne "$secs 33[0K " sleep 1 : $((secs--)) done
Source by serverfault.com #
PREVIOUS
NEXT
Tagged:
#bash
#inline
#countdown
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit