Zend certified PHP/Magento developer

What is echo doing?

Recently, I noticed that echos in which I include lots of “!” result in weird stuff. For example: echo !! gives me:

echo rm -r * 1000
rm -r * 1000

(rm -r * was the last command I executed before typing it). Why is this happening, and is there a way to disable it?