Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Powershell <=> Bash

Commands

Popular bash commands in PowerShell:

grep: Select-String
  Select-String -r "console" .\foo\**\*.js
  
cat: Get-Content
  Get-Content foo.md
  
pcopy: Set-Clipboard

  Get-Content foo.md | Set-Clipboard
  
tail: Get-Content

  Get-Content "Filename" -Wait -Tail 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment