[OT] remove process or file [was Re: [plug] funny process name]

Cameron Patrick cameron at patrick.wattle.id.au
Tue Sep 30 18:14:53 WST 2003


On Tue, Sep 30, 2003 at 02:23:54PM +0800, Bernd Felsche wrote:
| > # mv /bin/rm /bin/rm.orig
| > # vi /bin/rm
| > for p in ${@#/proc/} ; do
| > if [ -e /proc/$p ] ; then kill -KILL $p ; fi
| > done
| > /bin/rm.orig $@
| > :w
| > :q
| > # chmod +x /bin/rm
| 
| Cheeses! I was looking for something in the filesystem.

"We're more popular than cheeses!"

CP.

_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list