Timeline for difference between bash.bashrc and /etc/environment file
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 26, 2013 at 22:07 | comment | added | slm | It's upon login, not boot! | |
| Jun 16, 2012 at 11:08 | comment | added | André Stannek | I'm not sure when the /etc/environment is executed exactly but the /etc/bash.bashrc is executed by Ubuntu when you enter your desktop environment. That's why it works if you set the variables there. My guess is that the /etc/environment is executed once while booting before you enter your desktop and that the execution of the /etc/bash.bashrc overwrites the variables. But once again: I'm not sure about this. | |
| Jun 16, 2012 at 8:09 | comment | added | Ankur Trapasiya | Sorry i am newbie to linux. whe bash shell will be opened ? and another thing when bash shell is opened will it override variable set in /etc/enviornment or not ? | |
| Jun 15, 2012 at 9:47 | history | edited | Eliah Kagan | CC BY-SA 3.0 | added code highlighting and reworded slightly for grammar and clarity |
| Jun 14, 2012 at 13:44 | history | answered | André Stannek | CC BY-SA 3.0 |