Created
May 26, 2012 05:55
-
-
Save ashwin/2792489 to your computer and use it in GitHub Desktop.
Search text in files using PowerShell
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
### Search "foo_bar" recursively in all files in current directory | |
# Verbose | |
Get-ChildItem -Recurse | Select-String "foo_bar" | |
# Short | |
ls -r | Select-String "foo_bar" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment