Re: Locate with exclude?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Around 11:08am on Sunday, February 18, 2007 (UK time), Anne Wilson scrawled:

> I wouldn't have guessed that.  I've not come across 'grep -v' before, but it's 
> one worth remembering, thanks.

Off topic, but a neat trick when grepping your processes to find
information about one is to use "ps auxw | grep processName | grep -v
grep"

This only lists the process(es) you want, and not the grep command
itself which would otherwise would also be picked up.  Its doesn't
reallu matter, but it is a little more elegant.

Steve

-- 

A:  Because it messes up the order in which people normally read text.
Q:  Why is top-posting a bad thing?

 12:58:50 up 3 days, 15:22,  1 user,  load average: 0.37, 0.20, 0.31

Attachment: pgpFkkLEsAD0F.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux