Bash – System-wide bashrc on FreeBSD

bashfreebsdport

On linux there's usually a global bashrc file (/etc/bash.bashrc or /etc/bashrc). On FreeBSD however bash doesn't seem to support this feature. What's the best way to add a system-wide bashrc then?

Best Answer

You can try with strings and see which paths are included in the binary.

Anyway, in RHEL5 the only system-wide config file for bash is /etc/profile and there is no /etc/bashrc nor others.

Related Topic