Usually to run an infinite bash loop, I do something like the following:
while true; do
echo test
sleep 1
done
What if instead, I want to do a loop that loops infinitely as long as it is earlier than 20:00. Is there a way to do this in bash?