bash - get directory a script is in when run from a different directory
4162
How can I get the source directory of a Bash script from within the script itself?
37703
How can I check if a directory exists in a Bash shell script?
28597
Checking from shell script if a directory contains files
3328
How do you synchronously load a script from another directory via an ajax call?
16521
How to use aliases defined in .bashrc in other scripts?
22861
Bash script copy file to user's (wildcard) home dir
118180
Get the current script file name
21291
Lookup shell variables by name, indirectly
24800
Execute bash scripts on entering a directory
54838
determine shell in script during runtime
85877
How to determine what filesystem a directory exists on?
35846
Short-cut for switching to a given directory
10754
determining path to sourced shell script
84268
source all files in a directory from .bash_profile
86627
Find where python is installed (if it isn't default dir)
51749
What's the best way to determine the location of the current PowerShell script?
385
Wrong working directory, if bash script is opened via double-click