2 ms·
I use pgrep -fl <name> instead of ps to find running processes by name. For complex one liners, I keep them in a simple txt file with a brief description so I
by tmaly 1y ago
I use pgrep -fl <name> instead of ps to find running processes by name.
For complex one liners, I keep them in a simple txt file with a brief description so I can find them later when I need to use them again.
- rajkumarsekar 1y agoSmart move with pgrep -fl—so much cleaner than piping through ps | grep. And keeping a personal cheat sheet of one-liners is underrated.