gamo
gamo

Reputation: 1577

bash: syntax error near unexpected token `;&'

I'm trying to setup git on the server and following this. I'm getting error with this command

mkdir .ssh && chmod 700 .ssh`

The error said:

bash: syntax error near unexpected token `;&'

Any idea?

Upvotes: 0

Views: 5295

Answers (1)

mipadi
mipadi

Reputation: 411252

Unfortunately, the & character was HTML-escaped on that page to &. You should enter this instead:

mkdir .ssh && chmod 700 .ssh

Upvotes: 8

Related Questions