- The 20+ best Black Friday Target deals 2024
- Best Black Friday TV deals 2024: 75+ expert-selected deals on QLED, OLED, & more
- Grab Microsoft Visual Studio Pro for 93% off right now
- How to control Windows with Super God Mode (and enjoy settings omniscience)
- The 30+ best Black Friday Apple deals 2024: Early sales available now
How to loop forever in bash
while :doecho Keep runningecho “Press CTRL+C to exit”sleep 3done You can do the same thing in a single line by separating the lines shown above with semicolons as shown in the example below. while true; do echo Keep running; echo ‘Press CTRL+C’; sleep 3; done The command below would work the same. I prefer while true because it seems obvious, but any of the examples shown will work as does this one: while [ 1…
Read More