owen.townend at gmail.com
Fri Nov 7 09:47:53 UTC 2008
2008/11/5 Eva Torreira <etorreira at cib.csic.es>:
> Hello everybody,
> I have added a source line to my home/.bashrc, but it would be useful to me
> to add it for all users. I can do it one by one, but I would prefer to edit
> a common bashrc.
> Dos a common .bashrc file exist in Ubunt 126.96.36.199?
> Where it is?
> Thank you very much,
The file you're looking for is probably /etc/bash.bashrc
There are also other options for other use cases:
$ man bash|grep -A 20 '^FILES'
The bash executable
The systemwide initialization file, executed for login shells
The systemwide per-interactive-shell startup file
The systemwide login shell cleanup file, executed when a login
The personal initialization file, executed for login shells
The individual per-interactive-shell startup file
The individual login shell cleanup file, executed when a login
Individual readline initialization file
More information about the ubuntu-users