how to keep running a command in linux code example Example: bash run a command every x second while sleep 1; do echo "Hi"; done