On Wed, 2013-05-15 at 13:46 -0500, Matthew J. Roth wrote:
> Roger wrote:
> > 
> > ps aux |grep psql shows
> > Home_user   5734  0.0  0.0 109180   872 pts/0    S+   21:10   0:00 grep 
> > --color=auto psql
> > it seems to be finding the fedors user login.
> 
> It's finding the grep command itself.  A trick to avoid that is to put one of
> the characters of your search term inside square brackets as follows:
> 
>   $ ps aux | grep [n]otaprocess
>   $ ps aux | grep notaprocess
>   mroth    14945  0.0  0.0  61176   776 pts/2    S+   14:21   0:00 grep 
> notaprocess

Or use pgrep.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to