Is there an equivalent Windows command to the Linux command which ?
Yep, it is “where”.
or on the Linux side
[oradb@testhost]$ which ls
Note: If you are using Windows Powershell – you have to use “where.exe” – as it appears Powershell has conflicting definitions of just “where”. See screenshot below.