/path/to/program/that/would/output/something/and/run/forever > /dev/null 2>&1 & for i in `seq 1 10`; do sleep 1; echo -n "." done kill -9 $!