Re: Finding absolute path of a script from within
Jeenu wrote:
>
> 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?
echo $PWD
--
Best regards | Be nice to America or they'll bring democracy to
Cyrus | your country.
|