About: chous, ecamino, wiily
Browse by time:
- December 2008 (1)
- September 2008 (2)
- February 2008 (1)
- October 2007 (2)
- July 2007 (4)
- June 2007 (3)
- May 2007 (4)
- January 2007 (1)
- December 2006 (3)
- October 2006 (1)
- September 2006 (1)
- May 2006 (2)
- April 2006 (1)
- March 2006 (1)
- January 2006 (1)
- December 2005 (4)
- November 2005 (5)
- October 2005 (3)
Browse by category:
- rss about (1)
- rss agile (1)
- rss antlr (1)
- rss chous (24)
- rss development (1)
- rss ecamino (4)
- rss emacs (1)
- rss gentoo (2)
- rss hacks (1)
- rss hints (1)
- rss linux (1)
- rss methodologies (1)
- rss oracle (1)
- rss queryj (2)
- rss screencast (1)
- rss script (2)
- rss software-engineering (1)
- rss spanish (16)
- rss tricks (1)
- rss vserver (1)
- rss wily (3)
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.

rss
Comments
No comments.