If one wants to set system-wide aliases, environment variables,
functions,
etc., I assume it's best to not alter /etc/profile rather than use /etc/ profile.d or perhaps somewhere in /usr/local/etc (where)?
Have a look in /etc/profile[1]. On 14.x, and 15-CURRENT, you can
make use of either /etc/profile.d or /usr/local/etc/profile.d, tho I
would go with you inclination and leave /etc/ untouched, and prefer
the /usr/local prefix.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 43:33:58 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,857,951 |