which command in Linux is used to identify the location of executables.
where command is a Windows
which equivalent in a command-line prompt (CMD).
In a Windows PowerShell the alternative for the
which command is the
In this note i will show how to find paths of executable commands in Windows.
Cool Tip: Windows
grep command equivalent in CMD and PowerShell! Read more →
Find Executables – Windows ‘which’ Equivalent
Find the location of an executable command using Windows command-line prompt (CMD):
C:\> where command_name
Find the path of an executable command using Windows PoweShell:
PS C:\> Get-Command command_name
This introduction to the PowerShell language and scripting environment provides more than 400 task-oriented recipes to help you solve all kinds of problems.
Intermediate to advanced system administrators will find more than 100 tried-and-tested scripts they can copy and use immediately.