Better HN
topnewbestaskshowjobs
Log inSign up

kazgul

1 karma · joined Sep 14, 2017 (9y ago) · 1 submissions

Submissions

comment 9y ago · link · parent

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