Tag: shell-fo

  • Grep trick for locating processes

    Yesterday Dominis mentioned shell-foo, and one cool thing that one of my ex-colleagues showed me a few years ago came to mind. (Hi Pali!)

    So let’s pretend you have to locate the pid of a mysql process. You run the good old ps command and grep for mysql:

    (more…)