Symbolic referencing current folder
I need to be able to place some scripts in any folder and run them with a cron. Now I am hard coding the path into each file the script creates. If this is not done, the files will end up in the root folder due to the cron execution. What I need is a symbolic reference that I can put before each file I create that will force the files to be placed into the current script's folder. Something equivalent to ./ in Windows.
Thanks
|