Unix/Linux Go Back    

Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Difference between commands


Thread Tools Search this Thread Display Modes
Old Unix and Linux 12-04-2012   -   Original Discussion by smazshah
smazshah smazshah is offline
Registered User
Join Date: Nov 2012
Last Activity: 4 November 2013, 5:32 AM EST
Location: earth
Posts: 40
Thanks: 1
Thanked 0 Times in 0 Posts
Difference between commands

i need to know the difference between two commands

ps -ef|grep oracle
ps -ef|grep -v grep |grep oracle

Last edited by Scott; 12-04-2012 at 09:52 AM.. Reason: Cde tags
Sponsored Links
Old Unix and Linux 12-04-2012   -   Original Discussion by smazshah
Scott's Unix or Linux Image
Scott Scott is offline Forum Staff  
Join Date: Jun 2009
Last Activity: 19 November 2017, 11:11 AM EST
Location: Zürich
Posts: 8,821
Thanks: 366
Thanked 1,196 Times in 1,022 Posts
The second one excludes grep itself from the result, and can also be achieved like:

ps -ef | grep [o]racle

You could easily have found an answer to this by searching the net, or the forum. Please search first.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
HACMP: difference between 'cl' commands and 'cli' commands peppix AIX 0 06-21-2011 03:43 AM
Difference between the commands saiki Shell Programming and Scripting 0 06-17-2010 03:55 AM
Difference in commands grin1dan UNIX for Dummies Questions & Answers 4 06-22-2009 05:26 PM
difference between these commands?? wrapster Solaris 3 02-22-2008 03:38 PM
what's the difference of these two commands? kfad UNIX for Dummies Questions & Answers 3 04-25-2005 11:40 AM

All times are GMT -4. The time now is 12:13 PM.