[kwlug-disc] Question about `ps` and `grep`
John Van Ostrand
john at vanostrand.com
Thu Sep 26 14:21:25 EDT 2024
Me too. I'm stuck on ps -ef which always gets me when I'm on my pfSense
firewall (NetBSD based.) I started to use pkill a while ago, but I do
rarely kill processes and often after a top where I can see the PID anyway.
I know about pgrep, but I still ps -ef | grep ...
On Thu, Sep 26, 2024 at 12:49 PM Khalid Baheyeldin <kb at 2bits.com> wrote:
> On Wed, Sep 25, 2024 at 9:31 PM Doug Moen <doug at moens.org> wrote:
> >
> > Oh, that's clever. What I do instead is `ps aux | grep tmux | grep -v
> grep`.
>
> That is what I have been doing for decades too.
>
> Though I use ps -ef rather than aux, because I learned UNIX on SysV
> systems, not the BSD lineage.
>
> _______________________________________________
> kwlug-disc mailing list
> To unsubscribe, send an email to kwlug-disc-leave at kwlug.org
> with the subject "unsubscribe", or email
> kwlug-disc-owner at kwlug.org to contact a human being.
>
--
John Van Ostrand
At large on sabbatical
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20240926/167fc7aa/attachment.htm>
More information about the kwlug-disc
mailing list