Created
May 28, 2017 21:07
-
-
Save ufuk/e0399bd89087f49a6ac681e749494fb1 to your computer and use it in GitHub Desktop.
Searching some text and getting unique result lines with grep
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| grep "search text" filename.txt | sort | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment