How to Run a Shell Script in Infinite Loop
You can run a shell script in infinite loop by using while loop. #!/bin/bash while true do echo “Press CTRL+C to stop the script execution” # Enter your desired command in this block. done You can also do this using below inline command while true; do echo ‘Press CTRL+C to stop the script execution’; done You…