On Sunday, 20-04-2025 at 01:12 pe...@easthope.ca wrote:
> Hi,
> 
> Debian 12 here, obtained by upgrading Debian 11.
> 
> In https://wiki.debian.org/DotFiles the sixth paragraph states, "You 
> should therefore always have command source ~/.bashrc at the end of 
> your .bash_profile in order to force it to be read by a login shell."
> 
> # ls ~/.bash_profile 
> ls: cannot access '/home/root/.bash_profile': No such file or directory

Peter, 

Please excuse my ignorance, but how did you manage to get the folder 
"/home/root/" when running "ls ~/.bash_profile" as root?

To my knowledge root's home directory should be /root, not /home/root.

For me:
# ls ~/.bash_profile
/root/.bash_profile

Did you create a user by the name "root" ?

George.


> 
> So the DotFiles page isn't consistent with Debian 12.  Also, DotFiles 
> isn't linked under https://wiki.debian.org/BootProcess#Articles .
> 
> Suggested improvements?  I think of integrating some DotFiles 
> information into the BootProcess page.  The DotFiles page can be 
> improved by separating cases with headings such as "Text console 
> login", "SSH login", "X window manager login", "Wayland login", "X 
> Window System startup after console login" and "Wayland login after 
> console login".
> 
> Further ideas?
> 
> Thx,              ... P.
> 
> 
> -- 
> VoIP:   +1 604 670 0140
> work: en.wikibooks.org/wiki/User:PeterEasthope
> 
> 

Reply via email to