The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: grep
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-18-2006
System Shock's Avatar
System Shock System Shock is offline Forum Advisor  
Registered User
  
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 521
First, I guess you meant ps -ef | grep ora_ , not os_

Anyway, the second line comes up because when you run the ps -ef | grep command, you create a process, so your command simply is picking itself up among the list of processes running.

You grep for a string of text, not a type of process.