[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How does bash interpret tilde character?



On 2025-08-10 06:51:40 -0500, 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?
>    2. what reference would answer a similar question?
>       [ NOTE BENE: The search may be more beneficial than the answer ]

Look for "tilde expansion" in the bash(1) man page.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)


Reply to: