Last active
July 21, 2019 04:45
-
-
Save estysdesu/931200008da2bfda8e653f01d2a055a2 to your computer and use it in GitHub Desktop.
[Bash: profile load paths] #bash #profile #source #sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# list profile paths loading variables | |
sudo bash -c "echo exit|dtruss bash -li|& less|grep '^open'" | |
# .bash_profile is for login shell, whereas .bashrc is for non-login shell (SSH) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment