To get rid of the outer loop I commonly include a snooze command and push CTRL-C some extra occasions: whilst :; do LONGTIME_COMMAND; rest 1; performed. Be sure to see: the colon behind while is interpreded as Correct, so That is an endless loop. Stéphane Chazelas' study solution is effective https://edwardk901rml3.kylieblog.com/profile