Skip to content

Instantly share code, notes, and snippets.

@isaac-ped
Created June 16, 2018 15:56
Show Gist options
  • Save isaac-ped/8993b0e010b05d4fca43722c4cb966a0 to your computer and use it in GitHub Desktop.
Save isaac-ped/8993b0e010b05d4fca43722c4cb966a0 to your computer and use it in GitHub Desktop.
Trigger shell to continuously ring the bell after job completion
#!/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