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
- How to convert string to uppercase
- How to assign an output of a command to a variable
- How to extract file extension
- Quickly create big file
- Urlencode string in bash
- How to extract file name
- How to convert string to lowercase
- How to get date in "YYYY-MM-DD" format
- How to check if a command exists
See more codes...