How to remove a filename with strange characters on Linux

 I learnt how to remove a filename with strange characters in its name.


I say:


    ls -li


to get the inode number,


and then delete the file with:


      find . -type f -inum 155192 -exec rm {} \;


I adapted this from an article on 'distrowatch.com'


I tried to use the graphical file manager 'Midnight Commander' but I have mapped the function keys it uses to letters that do not work anymore on my keyboard. I can use 'Midnight Commander' outside of X Windows though.


My old 'find' command does not support the '-delete' option.




Comments

Popular posts from this blog

Replacing 'bare' URL's from the text of links

Starting to use a CSS minifier

How a CSS fish animation works