if test "xterm" = "$TERM" ; then /home/myname/bin/keepalive & fi #### #!/bin/bash while test 1 ; do sleep 600; echo -ne " \b"; done