On Tue, Jul 05, 2016 at 02:34:20PM -0700, Rick Stevens wrote:
> On 07/05/2016 02:18 PM, Jon LaBadie wrote:
> > 
> > There is also "pgrep"
> > 
> > $ pgrep chronyd
> > 1542
> > 
> > $ pgrep chron
> > 1542
> > 
> > $ pgrep fire
> > 1535
> > 8708
> > 21777
> > 
> > $ pgrep -l fire
> > 1535 firewalld
> > 8708 firewall-applet
> > 21777 firefox
> > 
> > $ pgrep -a fire
> > 1535 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
> > 8708 /usr/bin/python -Es /usr/bin/firewall-applet
> > 21777 /usr/lib64/firefox/firefox
> 
> Ok, now that's one I hadn't heard of. That's nice!
> 
> Thanks for the tip!

Its compabion, pkill, is nice too.
Does the pgrep for you.

$ pkill firefox

jl
-- 
Jon H. LaBadie                  jo...@jgcomp.com
--
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