Question : bash endless loop
Answered by : super-sheep-row39avkpv7y
#!/bin/bash
while true
do echo "Press [CTRL+C] to stop.." sleep 1
done
Source : | Last Update : Tue, 26 May 20
Question : infinite loop bash
Answered by : shane-whitmire
#!/bin/bash
while :
do echo "Press [CTRL+C] to stop.." sleep 1
done
Source : https://www.cyberciti.biz/faq/bash-infinite-loop/ | Last Update : Wed, 23 Jun 21
Question : infinite loop bash
Answered by : shane-whitmire
while :; do echo 'Hit CTRL+C'; sleep 1; done
Source : https://www.cyberciti.biz/faq/bash-infinite-loop/ | Last Update : Wed, 23 Jun 21
Question : infinite loop bash
Answered by : niransha
########################
infinity loop
while true; do whatever you want to do
done
infinity loop 2
while :
do something to do
done
####################
Source : | Last Update : Wed, 29 Jun 22