When deleting the compressed package with (), the prompt: bash: syntax error near unexpected token `('

created at 11-25-2021 views: 8


Need to delete a zip package in the server, perform operation delete prompt:

-bash: syntax error near unexpected token `('

Cannot be deleted successfully


After Linux5.0, parentheses are not allowed and need to be translated.


There are two translation methods: add escape character \ or add "" to brackets .

I added the double quotes directly and deleted it successfully.

delete package with parentheses

created at:11-25-2021
edited at: 11-25-2021: