I can’t assign
RED5_HOME=/opt/red5-1.0.0
since variable appears to empty.
Probably some characters in variable value are to backslashed. Where to get complete list of characters which should be backslashed in shell script assignments?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This list seems to be the list you want http://tldp.org/LDP/abs/html/special-chars.html
However, your string should work just fine. I don’t think any of those symbols have any special meaning in sh in this context. Try surrounding the the string with single quotes (‘), that escapes all special characters. Like this