Hello, I have some script, that uses files in directories around it. It uses
dirname $0
command.
And it should work from any directory from where I will run this script, but when I run symbolic link that points to that script, I get the path of symbolic link like an output of dirname rather than the path of the script itself.
Any one know way to get path of the script?
Thank you for ahead.