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. |
Last active
April 7, 2024 17:04
-
-
Save the0neWhoKnocks/0aac268aaaa25ab74f850f99d1767228 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment