Created
February 12, 2012 22:05
-
-
Save bentappin/1811085 to your computer and use it in GitHub Desktop.
Grep without storing search terms (e.g. password)
This file contains 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
# Using -f- for grep lets you type in a search on STDIN for stuff | |
# like passwords without saving in history or ps | |
grep -r -f- sourcecode/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment