/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
• Environment Variable
• 1 long string
• Colon-separated
• Is a path to executable code invoked through text commands
kimschles 3
Permanent Change
Add to .bashrc or right from the command line.
export PATH=$PATH:/Library/Frameworks/Python.framework/
Versions/3.5/bin
kimschles 6
Slide 7
Slide 7 text
Temporary Change
From the command line. Only lasts in current shell (no export)
PATH=$PATH:/Library/Frameworks/Python.framework/Versions/
3.5/bin
kimschles 7
Slide 8
Slide 8 text
Recapitulation
• Environment Variable
• 1 long string
• Colon-separated
• Is a path to executable code invoked through text commands
kimschles 8
Slide 9
Slide 9 text
Recapitulation
• See it with
echo $PATH
• Change it with export:
export PATH=$PATH:/Library/Frameworks/new/thing
• Try out a new path by taking out export:
PATH=$PATH:/Library/Frameworks/new/thing
kimschles 9
Slide 10
Slide 10 text
Resources
• How to Access and Edit Path
• The /bin Directory
kimschles 10