Skip to content

Ahmed1Elsawy/count_up_bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

count_up_bash

a count up timer for bash

just press s to stop and any key to start again.

x=1; while true; do echo $x; read -t1 -s -n1 c; if [[ "$c" == "s" ]]; then read -n1 -s c; ((x++)); sleep 1; else ((x++)); fi; done

About

a count up timer for bash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published