Skip to content

Instantly share code, notes, and snippets.

@gosukiwi
Last active July 4, 2020 17:01
Show Gist options
  • Save gosukiwi/ad9b02551f50162eee60f5ae73aeb718 to your computer and use it in GitHub Desktop.
Save gosukiwi/ad9b02551f50162eee60f5ae73aeb718 to your computer and use it in GitHub Desktop.
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