Linux.com

Home Learn Linux Linux Tutorials Fixing Strange and Peculiar Filenames in Linux

Fixing Strange and Peculiar Filenames in Linux

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

 

Comments

Subscribe to Comments Feed

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board