Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ashayh
on Aug 31, 2020
|
parent
|
context
|
favorite
| on:
What Shell Am I Using?
This should also do it: realpath /proc/$$/exe
segfaultbuserr
on Aug 31, 2020
|
next
[–]
+1. On Linux, with /proc, it's just much easier.
saagarjha
on Aug 31, 2020
|
prev
[–]
Not on macOS
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: