> "kill" is already a built-in shell command. Aliasing it to something that uses sudo is a recipe for disaster. If you want "sudo pkill", you should probably just type "sudo pkill".
You couldn't be more right there - and for a beginner (i.e. someone who actually uses aliases because they're usually on the same host) this is going to be doubly confusing when a desperate `kill -9 $PID` does absolutely nothing...
Authored Comments
Not on the list, but I've been looking at `peek` (appears to be a solid contender):
https://github.com/phw/peek
> "kill" is already a built-in shell command. Aliasing it to something that uses sudo is a recipe for disaster. If you want "sudo pkill", you should probably just type "sudo pkill".
You couldn't be more right there - and for a beginner (i.e. someone who actually uses aliases because they're usually on the same host) this is going to be doubly confusing when a desperate `kill -9 $PID` does absolutely nothing...