It's just not escaped properly.
You can probably just get away with putting a backslash \ before the $ so it looks like \$.
It's just not escaped properly.
You can probably just get away with putting a backslash \ before the $ so it looks like \$.
The quotes and escapes are mangled.
cd into the directory with the folder to remove, type rm -rf ./ then press tab until the folder you’re looking for is autocompleted after the ./
Doesn't seem to work.
If you’re struggling, might as well either open a file manager like midnight commander to make your life easier.
Are you sure the name is 'folder'$'\003'? I think the outer quotes might be added by ls. I would try rm -rf 'folder\'\$\'\\003'
Edit: Or rm -rf 'folder\'$\'\\003'
You probably don't own the folder. Use sudo.
Meaning ??

It's right here.
Oh. Sudo is the special word meaning admin. So if you have a command like rm and it fails due to permissions you simply add sudo. sudo rm. But I see that your problem is the folder name. So nevermind. Maybe look at the spaces? Maybe you have tab$tab instead of space$space?
all 16 comments