0

Part of my school task, I am supposed to write a shell script that prints a file called \*\\'"Best School"\'\\*$\?\*\*\*\*\*:). Due to the mix of strings and some special characters which are consequently interpreted by the shell program, I am unable to successfully print out the exact file name.

I applied the strong quoting method; touch '\*\\'"Best School"\'\\*$\?\*\*\*\*\*:)' but that also means the single quotes within the string will be interpreted, hence ignored.

I also tried \\\*\\\\'"Best School"\'\\\\\*\$\?\\\*\\\*\\\*\\\*\\\*\\\:\) still the single quotes within where ignored.

Eric
  • 1
  • 3
  • Does this answer your question? [How to escape single quotes within single quoted strings](https://stackoverflow.com/questions/1250079/how-to-escape-single-quotes-within-single-quoted-strings) – Biffen Mar 15 '23 at 10:28

0 Answers0