Smart ps
Just a minor Linux hack. You can override ps command to get rid of the usual | grep -v grep.
Define your own ps version in /usr/local/bin:
#!/bin/bash /bin/ps $@ | grep -v -e "^.* \+.\+ $$ \+.*" | grep -v grep
Don't forget to make it executable, but make sure you have complete control of the basic commands you execute, since overriding commands such as ps is the first thing to do when implementing rootkits.
