Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

what happened to the simple invocation of `which "$(echo $0)"` ?


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.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: