Finding absolute path of a script from within
Hi,
I'm wondering what would be the best way to get the absolute path of
script, within it. 'basename', 'dirname' and 'pwd' don't always give
the same output, since it depends on where you execute the script
from. Any thoughts?
Thanks
Jeenu
|