Quick BASH question

Status
Not open for further replies.

Greg

Indeed.
Messages
1,600
I was wondering, how do you make a bash script repeat itself indefinitely? I Googled it but found no answer.

Thanks
~Greg
 
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.
 
Status
Not open for further replies.
Back
Top Bottom