HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by jan6 | Hacker News Reader
Full thread
jan6
·
what happened to the simple invocation of `which "$(echo $0)"` ?
View on HN
em500
·
As the author notes in the 2nd section, that will return the location of the binary in the user path, which is not necessarily the one that is currently running.
Reply on news.ycombinator.com