I am running an interactive non-login shell
$ echo $- himBH $ shopt login_shell login_shell off
which means that only ~/.bashrc
should be read. However even with no PATH in ~/.bashrc
, PATH is still defined
$ grep PATH ~/.bashrc | wc 0 0 0 $ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Where is this definition coming from?