Table of Contents
Environment
Links
Commands
Files
Environment
Links
Adam Bolte:
Understanding *NIX Login Scripts
Stack Overflow:
Can you run a script every time /bin/sh is invoked?
Stack Exchange:
Is there an invoked file for dash and sh as non login shells in /etc directory?
Commands
show all environment variables:
env
show all language settings:
locale
show all (accounting) limits:
ulimit -a
Files
~/.bashrc
: environment for
Bash
/etc/bashrc
:
Bash
login setup, aliases and environment
/etc/environment
: environment variables common to all users