Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xelxebar
4 months ago
|
parent
|
context
|
favorite
| on:
Larry Wall's Very Own Home Page
Not just Apache, but POSIX shell syntax! It's called Tilde Expansion[0], so in your dash, bash, whatever, ~USER expands to the home directory of USER. This is the general form of standard "bare tilde" syntax as a stand-in for $HOME.
[0]:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[0]:https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...