How to display all lines with the word text or the word name?
Here is the answer:
[pene@donunix] grep -P 'text|name' file.txt
grep: advanced use
Subscribe to:
Post Comments (Atom)
Welcome to Don Unix
The main purpose of this blog is to show you some interesting Unix and Linux Tips'n Tricks.
I hope you'll enjoy it
How to display all lines with the word text or the word name?
Here is the answer:
[pene@donunix] grep -P 'text|name' file.txt
No comments:
Post a Comment