 |
Can a Bash script tell what directory it's stored in? - Stack ...
How do I get the path of the directory in which a Bash script is located FROM that
.... And it will print something like: ... has basename test2.sh, dirname /home/matt
The present working directory is /tmp ...
stackoverflow.com |
 |