Is there a simple way of determining which executable is being invoked by a given command when which is not available?
37009
Is there an alternative to the `which` command?
81002
How can I get the name of the command called for usage prompts in Ruby?
6994
Detect if called through require or directly by command line
131457
How to find executables
106594
How can we check if a file Exists or not using Win32 program?
81725
Finding Command-Line Arguments of Programs
40795
Where do executables look for shared objects at runtime?
95458
How do I get command name of the last executed command?
52875
How to find out the dynamic libraries executables loads when run?
30828
How can I tell which package an executable came from?
28622
Finding current executable's path without /proc/self/exe
17691
Determine path of the executing script
23662
How do I find out command line arguments of a running program?
15288
Find path of standard executable for a given file type in Windows
30589
How can I determine which process owns a hotkey in Windows?
30228
How do I check which shell I am using?
130191
Why isn't the first executable in my $PATH being used?