To get rid of the outer loop I ordinarily include a snooze command and press CTRL-C some extra moments: whilst :; do LONGTIME_COMMAND; slumber 1; carried out. You should recognize: the colon guiding though is interpreded as TRUE, so this is an endless loop.Nevertheless if you'd like to extract this for scripting, it is best to straight question via