Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Interesting commands for the Linux shell. Parent comment
You could use this to get the current location of the script being run (not the location where it runs).
readlink -f $0
There are no comments on this comment yet.
You could use this to get the current location of the script being run (not the location where it runs).