On 2025-08-10 at 08:06, Vincent Lefevre wrote: > On 2025-08-10 08:00:15 -0400, The Wanderer wrote: > >> On 2025-08-10 at 07:51, Richard Owlett wrote: >> >> > About 5 years ago the response I got was: >> > >> >> Use the 'history' command, or 'cat ~/.bash_history'. >> > >> > I have two questions: >> > 1. in context, what does " ~/ " mean? >> >> In the typical context and usage, "~/" can AFAIK be treated as exactly >> equivalent to "$HOME/". > > If you mean with the quotes: No - in fact I initially wrote it with '' rather than "", and switched specifically to match what Richard had used, with (as I parse that usage to have been) standard-writing semantics rather than shell-quoting semantics. Admittedly it's kind of hard to convey that sort of thing without being explicit about it. > AFAIK, ~/ (without quotes) is equivalent to "$HOME/" (with quotes). A worthwhile clarification, certainly. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
Attachment:
signature.asc
Description: OpenPGP digital signature