Pages

Monday, December 8, 2014

Conventions used to set env PATH for different shell.

Setting path at Unix/Linux:
To add the Python directory to the path for a particular session in Unix:

In the csh shell: type
setenv PATH "$PATH:/usr/local/bin/python" and press Enter.

In the bash shell (Linux): type
export PATH="$PATH:/usr/local/bin/python" and press Enter.

In the sh or ksh shell: type

PATH="$PATH:/usr/local/bin/python" and press Enter.

No comments:

Post a Comment