Monday, September 16, 2019

Locate a Command on Windows

We know we can locate a command on Unix-like operating systems like Linux or OS X using the which command, such as,

$ which ls
/bin/ls
$
Can we do the similar on Windows? Yes, we use the where, e.g.,

C:\>where find
C:\Windows\System32\find.exe

C:\>

No comments:

Post a Comment