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
- Urlencode string in bash
- How to check if a string starts with a specific value
- How to extract file extension
- How to convert string to lowercase
- How to convert string to uppercase
- How to extract file name
- Output italic text in console
- How to search and replace string in variable
- How to check if a command exists
- Output bold text in console
See more codes...