Skip to main content
1 of 2

Use of special characters in filename

I need to create a file named *'test'*

If I write touch \'test\'

ls shows 'test'

But if I write touch \*\'test\'\*

ls now shows *'\''test'\''*

What's the trick ? Can someone explain me what I did wrong ?

My OS is Ubuntu 20.04