I’m trying to execute this line:
cd /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols
but this error pop out:
-bash: syntax error near unexpected token `('
How do I resolve this?
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.
You need to either escape the space and both the opening and closing parens with a backslash like this:
or quote the path like this:
Escaping and quoting seems tedious and annoying, you might say? Rest assured, there is a better way. Power users generally rely on tab completion and don’t really think about escaping paths on the command line too much. Try typing the first part of a directory or filename and hit the
tabkey. You’ll see the shell auto-complete as much of the text as possible. If there is still more to type, hit thetabkey again and you’ll be presented with a list of possible matches based on what you’ve typed so far. Type more characters to disambiguate and try hittingtabagain. Rinse and repeat as necessary. Tab completion will do the escaping for you along the way.