Find location of shell / bash function on disk
32654
How to know where shell variables and functions are set?
76632
How can you quickly get the complete path to a file for use in terminal?
103196
How to find list of available shells by command-line?
65428
Getting the parent of a directory in Bash
26946
How do you find the directory of a command?
127510
Portable way to check if directory exists [Windows/Linux, C]
82805
How to get the location of a program in Ubuntu terminal?
41031
Get directory from which script was called from
29542
Is there a command to see where a disk is mounted?
78437
Find only destination of symlink
158427
Is it possible to detect file location when running it?
6538
How do you properly determine the current script directory?
96052
How can I detect if I'm in a subshell?
74116
How do I find the terminal command for anything?
6958
How can I check if a program exists from a Bash script?
77848
How does one inspect the directory structure information of a unix/linux file?
144996
How do I get the path my script is running in?