Difference between commands | Unix Linux Forums | Solaris

  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


Closed Thread    
Thread Tools Search this Thread Display Modes
Old 12-04-2012
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 12-04-2012
Scott's Avatar
Scott Scott is online now Forum Staff  
Join Date: Jun 2009
Last Activity: 3 March 2015, 11:26 AM EST
Location: Zürich
Posts: 8,523
Thanks: 336
Thanked 1,061 Times in 924 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
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:32 PM.