[Ilugc] Tip: Find out current working directory of a process

  • From: viky.nandha@xxxxxxxxx (விக்னேஷ் நந்த குமார் (Vignesh Nandha Kumar))
  • Date: Tue, 20 Dec 2011 23:04:48 +0530

On Tue, Dec 20, 2011 at 9:23 PM, Version Control Buddy <vcbuddy at 
gmail.com>wrote:

Run ps aux to find out PID of a process:
$ ps aux | grep {process-name}


pgrep gives the PID of the matched processes precisely.

$ pgrep firefox


-- 
Vignesh Nandha Kumar

Other related posts: