Need to kill a program? Make it fun.
$ fuck you firefox
(╯°□°)╯ firefox
$
This script uses pkill
. It should work on OS X and probably NetBSD, FreeBSD, and
Solaris. It looks like at least some Linux distributions also include a Solaris-compatible
pkill, so it may work there too. YMMV.
It also uses bash. Alternatives exist for Windows, fish, and zsh.
Shamelessly stolen from this tweet.
Run the following command in your shell:
curl https://gist.githubusercontent.com/rnelson/9138125/raw/fuckyou.sh | bash
You'll have to log out and back in (or close and reopen your Terminal/iTerm/whatever) for $PATH to be picked up automatically. Alternatively, you can force your shell to reread the path:
$ . .bash_profile