Emacs Prank

November 7th, 2008 by Leandro Morgado

Here is a small prank I found funny:

$ sudo bash
Password:
# test -f /bin/emacs  && mv /bin/emacs /bin/emacs.NEVER
# cat <<EOF >/bin/emacs
#!/bin/bash
echo emacs: command not found
EOF
# exit
$ logout

Yes, I’m a vi dude. 🙂