DEV Community

Discussion on: What Are Your Favorite Command Line Hidden Gems?

Collapse
 
jbeetz profile image
J Beetz

It's not so much of a command but rather the concept of the | symbol. The pipe symbol is pretty a universal concept.

I use it in Powershell commands and Linux commands.
This Linux command gets a lot of use:
ps -ef | grep <'any string here'>
Or
history | grep <'whatever command I think I just ran'>