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 08:52 AM.. Reason: Cde tags
Sponsored Links
Old 12-04-2012
Scott's Avatar
Scott Scott is offline Forum Staff  
Join Date: Jun 2009
Last Activity: 25 October 2014, 12:03 AM EDT
Location: Zürich
Posts: 8,484
Thanks: 332
Thanked 1,047 Times in 914 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 02:43 AM
Difference between the commands saiki Shell Programming and Scripting 0 06-17-2010 02:55 AM
Difference in commands grin1dan UNIX for Dummies Questions & Answers 4 06-22-2009 04:26 PM
difference between these commands?? wrapster Solaris 3 02-22-2008 02:38 PM
what's the difference of these two commands? kfad UNIX for Dummies Questions & Answers 3 04-25-2005 10:40 AM

All times are GMT -4. The time now is 01:38 AM.