News for hackers. Stuff that matters.
Re:Closing a Stale SSH Connection by quectophoton on Monday April 10, 2023 @04:24AM (#35510260)
Anecdata, but after having some programs break when I used `~` to refer to my home directory (can't remember, was a long time ago), I got into the habit of either using `${HOME}` if I'm in a shell, or just writing the full path explicitly if it's a config file.

So nowadays I only use `~` when I'm navigating in an interactive shell session, and never in commands or config files.

There are no comments on this comment yet.