Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jan6
on Aug 31, 2020
|
parent
|
context
|
favorite
| on:
What Shell Am I Using?
what happened to the simple invocation of `which "$(echo $0)"` ?
em500
on Aug 31, 2020
[–]
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: