DEV Community

Discussion on: 10 simple Linux tips which save 50% of my time in the command line

Collapse
 
dalgibbard profile image
Darren Gibbard • Edited

FYI; I noticed you switch to egrep when splitting multiple matches with pipe; you can escape the pipe and stick with regular grep too:

mycommand | grep "string1\|string2"

Collapse
 
javinpaul profile image
javinpaul

Thx, I'll try thins, somehow I never used grep like that :-)