Somehow a file named -]???????q got created on my terminal. I tried rm -f "-]???????q" (in double quotes), but it did not get deleted. (Error:: rm: invalid option -- ]). How do I delete it?
|
| |||
|
feedback
|
|
For example, with:
Where | |||||||
feedback
|
|
You can either use the file name with rm or the inode number with find like :
| |||
|
feedback
|
|
or
double quotes prevent the shell from expanding interrogation marks; for example, if you had another file called -]foobar.q:
| |||||
feedback
|