On Fri, 5 Jul 2002, Tahir Hashmi wrote:
how to have a shell script that will keep running continuously as a running process?
Give the full path of the script as the last line.
That will spawn an infinite number of processes, n-1 of which are in the wait state. better would be one of these two:
#!/bin/bash while /bin/true; do # your program here done
or, at the end of the program:
exec $0