Find the location of an executable

From LemonWiki共筆
Revision as of 18:37, 10 March 2023 by Unknown user (talk) (Created page with "Find the location of an executable == Find the location of an executable in Windows == Tested on Windows 10<ref>[https://superuser.com/questions/49104/how-do-i-find-the-locat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Find the location of an executable

Find the location of an executable in Windows[edit]

Tested on Windows 10[1]

  • Key-in the command WHERE command_name
C:> WHERE where

will return C:\Windows\System32\where.exe

Find the location of an executable on Mac[edit]

Tested on Mac M1

  • Key-in the command which command_name or where command_name

Find the location of an executable on Linux[edit]

Tested on CentOS7

  • Key-in the command which command_name


References[edit]