Introduction
Infinite loops keep running a set of commands forever until you stop them. They help when you want a task to repeat without stopping.
Keep checking if a file exists and act when it appears.
Run a server that listens for requests all the time.
Keep monitoring system resources continuously.
Create a simple menu that shows until the user chooses to exit.