I am able to use ripgrep to do things like this:
ps aux | rg 'process name'
I am able to search the output of the previous command. For some reason this doesn't work for me using regular
grep. If I do:
ps aux | grep 'process name'
It ignores what I am trying to pipe into grep and searches the current working directory for the process I typed in.
If I would grep firefox for example it would not show it.
EDIT: It seems to be because some sort of alias described here https://unix.stackexchange.com/a/500727/375504
ps aux | \grep firefox