Skip to content

Instantly share code, notes, and snippets.

@estysdesu
Last active July 21, 2019 04:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save estysdesu/931200008da2bfda8e653f01d2a055a2 to your computer and use it in GitHub Desktop.
Save estysdesu/931200008da2bfda8e653f01d2a055a2 to your computer and use it in GitHub Desktop.
[Bash: profile load paths] #bash #profile #source #sh
# 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