Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save the0neWhoKnocks/0aac268aaaa25ab74f850f99d1767228 to your computer and use it in GitHub Desktop.
Save the0neWhoKnocks/0aac268aaaa25ab74f850f99d1767228 to your computer and use it in GitHub Desktop.

Unix Command Equivalents on Windows

Unix Command Command PowerShell What It Does
which <EXECUTABLE>
where <EXECUTABLE>
(Get-Command -ErrorAction SilentlyContinue -Name <EXECUTABLE>).Path
Outputs a path to an executable if it exists, or a blank string. Usually used to help determine if something is installed/available to use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment