How to remove a file whose name starts with '-'
Thanks to @ajp15243 : the answer is :
rm ./-myfile.txt
or
rm -- -myfile.txt
Use the absolute pathname
Like rm /home/name/-myfile.txt
Thanks to @ajp15243 : the answer is :
rm ./-myfile.txt
or
rm -- -myfile.txt
Use the absolute pathname
Like rm /home/name/-myfile.txt