gamo
gamo

Reputation: 1567

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: 5293

Answers (1)

mipadi
mipadi

Reputation: 410622

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

mkdir .ssh && chmod 700 .ssh

Upvotes: 8

Related Questions