Occasionally, usually due to an earlier typo, you end up with files with peculiar names. Usually these are easily removable, but if you have a file with a name starting – (e.g., -file, or even -f), the commandline:
rm -file
will not work. rm will treat this as indicating the use of the four options -f, -i, -l, and -e, and will die on -l, which isn’t a valid option…
Article Source LinuxPlanet
Read More