Answers for "infinite loop sh"

2

bash endless loop

#!/bin/bash
while true
do
	echo "Press [CTRL+C] to stop.."
	sleep 1
done
Posted by: Guest on May-19-2020
1

infinite loop bash

while :; do echo 'Hit CTRL+C'; sleep 1; done
Posted by: Guest on June-16-2021

Browse Popular Code Answers by Language