The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 06-11-2007
lorcan lorcan is offline
Registered User
 

Join Date: May 2007
Posts: 217
This is to find the pid for the single process

Code:
ps -ef | grep 'your procees' | grep -v grep | awk '{print $2}' | read pid
Reply With Quote