Answer the question
In order to leave comments, you need to log in
Can't add folder to $PATH. Writes No such file or directory. What's the matter?
I made a customscripts folder in /bin, then tried to add it to $PATH.
Copied an existing one and wrote it to /etc/bash.bashrc
$PATH=/home/king/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin=/home/king/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/bin/customscripts
sudo chmod 777 /bin/customscripts
bash: /home/king/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin=/home/king/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/bin/customscripts: Нет такого файла или каталога
Answer the question
In order to leave comments, you need to log in
Emnip, when assigning a dollar is not needed.
PATH=...
Here is some crap in the form of an equals sign..../bin=/home/.....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question