#!/bin/bash # long-loopy.sh # By: Sharon Tuttle # last modified: 2022-10-04 # # just a shell that can hopefully be run in the background # long enough to see its status as "Running" in the # jobs command! # # for example, by starting it running in the background: # ./long-loopy.sh & # # ...then running the jobs command: # jobs value=0 LIMIT=1000000 while [ "$value" -lt "$LIMIT" ] do let "value+=1" done exit 0