OverviewSo.. I was going through some old shit on my computer.. I came across an old file that was last modifed: 13/11/08 - Yup quite some time ago..
So what is it? Well it's an Bash script (.sh) what does it do? it makes your system beep play the 3-blind-mice song... (beeping style!)
How?It requires a program called "beep" (yeah good luck finding it through google..) and requires to be run as root. And well, it plays it.
Show me!Right, so first up you're going to want to install the program called beep.
Fedora Method:
Ubuntu Method:
Code:
apt-get install beep
Now, once installed check it actually works, run as root the command "beep". ("sudo beep" for ubuntians) no quotes!
No sound? Yup as I expect most distributions now, for some dumb reason disable the system beep by default! But panic not, it can be re-enabled.
Run the command:
run beep again.. it works now, or should. unless it is blacklisted or you have no onboard speaker.
So now, lets make our system play 3 blind mice!
Create an sh file with the following contents:
Code:
beep -f 369 -l 500 -D 100 -n -f 329 -l 500 -D 100 -n -f 293 -l 500 -D 400
beep -f 369 -l 500 -D 100 -n -f 329 -l 500 -D 100 -n -f 293 -l 500 -D 400
beep -f 440 -l 500 -D 100 -n -f 391 -l 300 -D 30 -n -f 391 -l 200 -D 50 -n -f 369 -l 500 -D 400
beep -f 440 -l 500 -D 100 -n -f 391 -l 300 -D 30 -n -f 391 -l 200 -D 50 -n -f 369 -l 500 -D 400
beep -f 440 -l 500 -D 100 -n -f 554 -l 500 -D 100 -n -f 587 -l 300 -D 30 -n -f 554 -l 300 -D 30
beep -f 493 -l 300 -D 30 -n -f 554 -l 300 -D 30 -n -f 587 -l 300 -D 100 -n -f 440 -l 300 -D 30
beep -f 440 -l 300 -D 30 -n -f 440 -l 300 -D 30 -n -f 587 -l 300 -D 30 -n -f 587 -l 300 -D 30
beep -f 587 -l 300 -D 30 -n -f 554 -l 300 -D 30 -n -f 493 -l 300 -D 30 -n -f 554 -l 300 -D 30
beep -f 587 -l 300 -D 100 -n -f 440 -l 300 -D 30 -n -f 440 -l 300 -D 30 -n -f 440 -l 300 -D 30 -n -f 587 -l 300 -D 30 -n -f 587 -l 300 -D 30 -n beep -f 587 -l 300 -D 30 -n -f 554 -l 300 -D 30 -n -f 493 -l 300 -D 30 -n -f 554 -l 300 -D 30
beep -f 587 -l 300 -D 100 -n -f 440 -l 300 -D 30 -n -f 440 -l 300 -D 30 -n -f 440 -l 300 -D 30
beep -f 391 -l 300 -D 150 -n -f 369 -l 500 -D 150 -n -f 329 -l 500 -D 150 -n -f 293 -l 500 -D 500 -n -f 369 -l 500 -D 150 -n -f 329 -l 500 -D 150 -n -f 293 -l 500 -D 500
save it as "mice.sh", now as root run the command:
Code:
sh /path/to/mice.sh
With a bit of luck, your system is now playing 3 blind mice! Enjoy!