Get the path of the script executed in Source Bash script
4162
How can I get the source directory of a Bash script from within the script itself?
119181
How to debug bash script?
76632
How can you quickly get the complete path to a file for use in terminal?
72221
View remote value of $PATH inside shell script
115702
How do I get query string value from script path?
16368
How to get the path of a running JAR file?
67636
How to check the extension of a filename in a bash script?
89409
How might I get the script filename from within that script?
26048
How do I know the script file name in a Bash script?
5470
Is it possible to find out what program or script created a given file?
32654
How to know where shell variables and functions are set?
55513
Where have I set my bash PATH?
101843
Complete view of where the PATH variable is set in bash
78086
How to show the full path of a file or directory in the terminal?
31185
Get path of current script when executed through a symlink
138615
Get the application's path
130042
How to pass argument to script which is input to bash