Get parent directory of shell script's directory
4162
How can I get the source directory of a Bash script from within the script itself?
101843
Complete view of where the PATH variable is set in bash
61189
How to move and overwrite subdirectories (and files) to parent directory?
133143
Execute a shell script without `./`
28456
How to refer variable defined in sub shell in parent shell
135455
Bash script callable from home but not scripts directory
23782
How can I get distribution name and version number in a simple shell script?
66644
Get the hierarchy of a directory with PHP
20082
Does the shebang determine the shell which runs the script?
97081
exit shell script from a subshell
72828
Analogue of NotebookDirectory[] for scripts (to get the directory path of my script.m)?
35616
Shell script to move all files from subfolders to parent folder
28597
Checking from shell script if a directory contains files
8423
Abbreviated current directory in shell prompt?
152015
Can a script modify an environment variable of its calling shell?
3493
find searching in parent directories instead of subdirectories
78509
Is there a way to get the git root directory in one command?