[CentOS] root .bash_profile?
Chris Adams
linux at cmadams.netMon May 13 17:31:13 UTC 2019
- Previous message: [CentOS] root .bash_profile?
- Next message: [CentOS] root .bash_profile?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Once upon a time, Bee.Lists <bee.lists at gmail.com> said: > No, this isn’t a case of multi partitions, clusters, or anything silly. I just want a set of aliases loaded for su. /root/.bash_profile isn’t loading, and there isn’t any obvious choice as to where the loaded .bash* were loading from. .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. -- Chris Adams <linux at cmadams.net>
- 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