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
- How to check if a string starts with a specific value
- Urlencode string in bash
- Output bold text in console
- How to check if a command exists
- Output italic text in console
- How to check if variable is empty
- How to get date in "YYYY-MM-DD" format
- How to convert string to lowercase
- How to search and replace string in variable
- How to convert string to uppercase
See more codes...