# https://bytexd.com/what-is-dirname-0-and-usage-examples/ #!/bin/bash Directory=$(cd `dirname $0` && pwp -P) echo $Directory