2019-07-27 Week 30 工具合集 Sat 27 July 2019 loop in bash; Repeat a Unix command every x seconds forever; How to increment a variable in bash? var=0; while true; do echo "Hi"; var=$((var + 1)); echo $var; sleep 1; done