Hi Any one can guide me to the right direction.
I trying to run my scripts from anywhere, how about to do it:
I did this but is not working.
export PATH = $PATH:/scripts/pyhon
But is not working
Thank you
Hi Any one can guide me to the right direction.
I trying to run my scripts from anywhere, how about to do it:
I did this but is not working.
export PATH = $PATH:/scripts/pyhon
But is not working
Thank you
Two things:
1) I'm pretty sure you meant python and not pyhon
2) Supposing you are using Bash, you must be precise about whitespace so that assignment should look like: export PATH=${PATH}:/scripts/python
Notice that the example above contains no spaces around the = operator. Also, be sure that the path you are appending is not a relative path (relative to where you currently are) and that it is an absolute path (i.e. /scripts/python
should exist on your system, not something like /home/name/scripts/python
)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.