PATH is for
specifying directories of executable programs. LD_LIBRARY_PATH is used to
specify directories of libraries.
This blog is about CCNA, CCNP, CCIE, Software Testing, Scripting, Networking & Security, Virtualization, Kubernetes, Cloud and Certifications.
Sunday, December 14, 2014
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.
Subscribe to:
Posts (Atom)