Greg Indeed. Messages 1,600 Oct 18, 2006 #1 I was wondering, how do you make a bash script repeat itself indefinitely? I Googled it but found no answer. Thanks ~Greg
I was wondering, how do you make a bash script repeat itself indefinitely? I Googled it but found no answer. Thanks ~Greg
The General Banned Messages 5,191 Oct 19, 2006 #2 At the end of it, put sh /path/to/itself.sh like this Code: #!/bin/bash printf "Hello World!" sh /home/ted/bin/lol.sh /home/ted/bin/lol.sh being the name of the script.
At the end of it, put sh /path/to/itself.sh like this Code: #!/bin/bash printf "Hello World!" sh /home/ted/bin/lol.sh /home/ted/bin/lol.sh being the name of the script.
H horndude Fully Optimized Messages 2,539 Oct 19, 2006 #3 or just make an infinite loop: x=1 while x=1 do