Today is going to be a practical tip. If you're managing many Unix systems, sooner or later you come across files with special characters – they can't be deleted with rm command using standard approach and require a bit of trickery to be successfully removed.
Examples of files with special characters
Any language apart from English will probably have special characters in the alphabet, but for the purpose of today's exercise I'll give you more standard examples: files starting with dash (-) and hash (#) characters:
ubuntu$ ls -al -rw-r--r-- 1 greys admin 0 Sep 25 05:50 #try -rw-r--r-- 1 greys admin 0 Sep 25 05:48 -try
[Read more…] about How To Remove Files and Directories with Special Characters