Hay guys I have a problem I tried to clone a repo from git by git clone
after download I tried to run the command, although the command was not foud. So after adding the file to the path by export PATH = "..."
the command did not work how can I fix this?
To specify the location of executables, you must specify the PATH as set of colon ":" separated directories.
Here's a reasonable template for you to follow:
export PATH=$PATH:<add-your-new-dir-here>
Typically, the PATH is always exported, so you'll only need to do this:
PATH=$PATH:<add-your-new-dir-here>
In your question, you indicated that you are adding a "file" to the PATH. Remember, you must add directories.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.