[CentOS] root .bash_profile?
Bee.Lists
bee.lists at gmail.comMon May 13 17:40:38 UTC 2019
- Previous message: [CentOS] root .bash_profile?
- Next message: [CentOS] where to find wifi driver
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
OK that’s exactly what I just was questioning. The documentation wasn’t clear on the ‘man bash’ (INVOCATION) notes. So I entered my inclusion of my aliases file (it’s my own) inside .bashrc. Thank you > On May 13, 2019, at 1:31 PM, Chris Adams <linux at cmadams.net> wrote: > > .bash_profile will not be read when you just run "su", because > .bash_profile is read in a login shell, and "su" does not create a login > shell. > > .bashrc will be read (and is really where aliases belong anyway), or you > can "su -" to create a login shell. Cheers, Bee
- Previous message: [CentOS] root .bash_profile?
- Next message: [CentOS] where to find wifi driver
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list