Hacker News new | ask | show | jobs
by kazgul 3198 days ago
That is not the same use case.

You could use this to get the current location of the script being run (not the location where it runs).

   readlink -f $0