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