When a user login, the environment variables are set following the below order
- /etc/profile (for all users)
- /etc/profile.d (Application specific setup)
- ~/.bash_profile
- ~/.bashrc
For further information, read Login Sequence
Linux Toolkits Blog is a scratch-pad of tips and findings on Linux
No comments:
Post a Comment