bashInfinite while loop
while true; do echo hi; sleep 1; done
ctrl + c
echo hi; sleep 1 replace this with your code, that should run forever |
More of Bash
- Binet's Formula in bash
- How to check if a string starts with a specific value
- How to check if a command exists
- Check if file exists
- How to extract file name
- Urlencode string in bash
- How to extract file extension
- Output underlined text in console
- Quickly create big file
- Check if directory exists
See more codes...