Last active
October 23, 2020 09:15
-
-
Save ShinChven/c39ed1c3050e8ac122448aa5c24dc4df to your computer and use it in GitHub Desktop.
search text in bash
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
#!/bin/bash | |
# https://stackoverflow.com/a/16957078/2108080 | |
grep -rnw $1 -e $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment