Grep option from Jua
Today tasks, when we want to grep something we use
>> ls -l | grep
Jua tell me, if i need everything except
>> ls -l | grep -v # I think it's come from exclude by help said invert match!!!
### Thank Jua :)
Anyway, we can use some simple regular expression by
>> ls -l | grep -e [regex]
such as
>> ls -l | grep -e ^B
>> ls -l | grep
Jua tell me, if i need everything except
>> ls -l | grep -v
### Thank Jua :)
Anyway, we can use some simple regular expression by
>> ls -l | grep -e [regex]
such as
>> ls -l | grep -e ^B
Comments
Post a Comment