Find process id (pid) by name

You can find the pid of Bash by typing this into a terminal:

# ps -ax | grep bash30892 pts/0    Ss     0:00 bash12556 pts/0    S+     0:00 grep bash

30892 is the process id. That last line is the search itself.

Powered by ScribeFire.

Leave a Reply

You must be logged in to post a comment.