Answer the question
In order to leave comments, you need to log in
How not to replace a variable in sh script?
echo "alias uphp='php /etc/uphp/main.php $PWD'" >> ~/.bashrc
- in this case, you do not need to replace the variable, but write it to the file like this: alias uphp='php /etc/uphp/main.php $PWD'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question