Quote:
Originally Posted by ust
I would like to ask if I want to grep somthing .
I know the command " ll |grep Jun" can grep file with Jun , if I want to grep file with May and Jun , what can i do ? thx
|
Do you mean "May and Jun", or possibly "May
OR Jun".
OR:
egrep '(May|Jun)' filename
AND:
egrep 'May' filename | egrep 'Jun'
Note the two very different meanings of the "|" operator.