-
-
Save isaac-ped/8993b0e010b05d4fca43722c4cb966a0 to your computer and use it in GitHub Desktop.
Trigger shell to continuously ring the bell after job completion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while [[ 1 ]]; do | |
for i in `seq 1 10`; do | |
echo -e '\a\c' | |
sleep .1 | |
done | |
sleep 1; | |
done | |
## Example: | |
# sleep 10; ring |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment