[Solved] Error: bash: syntax error near unexpected token ` (‘

You need to delete a zip package in the server and execute the operation deletion prompt: – bash: syntax error near unexpected token ` (‘

Failed to delete normally

Reason: after Linux 5.0, parentheses cannot be used, and translation is required

There are two methods of Translation:

  1. adding escape characters\
  2. 2.just add “” in parentheses

I add double quotation marks directly, and then delete it successfully.

Similar Posts: