[CentOS] root .bash_profile?
Bee.Lists
bee.lists at gmail.comMon May 13 17:21:55 UTC 2019
- Previous message: [CentOS] root .bash_profile?
- Next message: [CentOS] root .bash_profile?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
OK, I haven’t tested for that loadup yet, and the .bashrc is indeed there. I thought .bashrc was loaded first, then .bash_profile. This is for normal user. Just tested it again, and /root/.bash_profile is not loading. Tried this in /root/.bashrc: source /root/.bash_profile That created a loop, because that reverse instruction is inside /root/.bash_profile So for some reason, entering su isn’t loading its own .bash_profile nor keeping my user’s .bash_profile (expected). Any ideas? > On May 13, 2019, at 8:49 AM, ja <ja at jaa.org.uk> wrote: > > I have an alias in /root/.bashrc > alias sbp='source ~/.bash_profile' > Cheers, Bee
- Previous message: [CentOS] root .bash_profile?
- Next message: [CentOS] root .bash_profile?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list