.bashrc_common_to_all_users
Owen Townend
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 8.0.4.1?
> Where it is?
>
> Thank you very much,
>
> Eva
Hey,
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'
FILES
/bin/bash
The bash executable
/etc/profile
The systemwide initialization file, executed for login shells
/etc/bash.bashrc
The systemwide per-interactive-shell startup file
/etc/bash.logout
The systemwide login shell cleanup file, executed when a login
shell exits
~/.bash_profile
The personal initialization file, executed for login shells
~/.bashrc
The individual per-interactive-shell startup file
~/.bash_logout
The individual login shell cleanup file, executed when a login
shell exits
~/.inputrc
Individual readline initialization file
Cheers,
Owen.
More information about the ubuntu-users
mailing list