How do I *reliably* and *simply* get the current shell interpreter name?
54838
determine shell in script during runtime
60658
how can i get the executable's current directory in py2exe?
28622
Finding current executable's path without /proc/self/exe
45470
How do I get the version of an application from the command line?
137056
View shell function's current definition
65718
What's the terminal command for finding out a process's id
4162
How can I get the source directory of a Bash script from within the script itself?
121806
Get Currently Executing Class/Method Name?
31185
Get path of current script when executed through a symlink
8423
Abbreviated current directory in shell prompt?
2108
How can we get the command line of a running application?
14486
What is the variable that contains the source file name?
144458
How can I tell what command an alias stands for?
6538
How do you properly determine the current script directory?
94547
Find package name using terminal
21291
Lookup shell variables by name, indirectly
113562
Accessing a folder that I can't "name" in the shell