Skip to content

Instantly share code, notes, and snippets.

@marcosdalte
Last active August 12, 2022 13:37
Show Gist options
  • Save marcosdalte/4515c413e5d59772bcb64f90c9523311 to your computer and use it in GitHub Desktop.
Save marcosdalte/4515c413e5d59772bcb64f90c9523311 to your computer and use it in GitHub Desktop.
Useful Power Shell Commands
Linux
grep -rin ./dir/*.ext "foo foo"
PS
Select-String -path .\dir\*.ext -Pattern "foo foo"
Linux
tail -f file
PS
Get-Content -PATH .\file -Wait
PS
Select-String -Pattern "DT_EXP" -Path "*.sql"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment