Skip to content

Instantly share code, notes, and snippets.

@nellynette
nellynette / Modify PATH
Last active October 21, 2017 09:35
nothing new. just to remember some commands on OS X
#to set the variable PATH to the value /bin:/sbin:/user/bin:/user/sbin:/system/Library/, you would enter the following command in a Terminal window:
$ PATH=/bin:/sbin:/user/bin:/user/sbin:/system/Library/ export PATH
#This modifies the environment variable PATH with the value assigned.
#To view all environment variables, enter:
$ env