Searching for the PID for a program

 

Use: pgrep [process name]
Returns a list of process IDs which match the process name.

I found this very handy when I had gnash installed and my computer would slow down / freeze.