On 07/05/2016 11:18 AM, Joe Zeff wrote:
> On 07/05/2016 11:01 AM, Robert Moskowitz wrote:
>> I have GOT to add this to my list of tools....
> 
> Here's a one-liner that I've used so often I made a shell script out of it:
> 
> ps aux | grep $1 | grep -v grep
> 
> I will leave the reason for the second grep as an exercise for the reader.

Yeah, I use that one a lot, too. "pidof -x" is useful as well and you
don't need the greps.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-     Is that a buffer overflow or are you just happy to see me?     -
----------------------------------------------------------------------
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to