Tag: shell-fo

  • Grep trick for locating processes

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

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

    (more…)