Created
July 22, 2009 23:16
-
-
Save offby1/152389 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # XXX says that it's bad to form the habit of using | |
| # killall, since on Solaris it ... er ... kills all the processes on | |
| # the system. Better to use pkill. | |
| if [ -n "$(type -p killall)" ]; then | |
| killall () | |
| { | |
| echo "Use \`pkill' instead." | |
| } | |
| pkill () | |
| { | |
| command killall "$@" | |
| } | |
| fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment