Create Infinite Loop In Bash


Gabriel9999
#1
I want to run a command for ever in the Linux bash. Also I want to put 60 seconds between command execution.
 
samueltarcin999
#2
You can use bash infinite loops with the while loop like

while true; do echo "test"; sleep 60; done

for more details look https://www.poftut.com/bash-infinite-shell-linux/
 

Similar Threads

0
Vietnam's Infinite Cave
by Locutus | Jul 17th, 2013
0