Removing Files in Linux having Name starting with special characters
Since on Linux everything is to be considered as file, So a file may have any name that start with anything. So in case you got some file that has name starting with some unusual characters or you can say with special characters. This post will show you about "How to Delete files whose name start with special characters in Linux". e.g. files like --test2. There are two ways to delete such files. 1.) Find inode of that particular file to be deleted and then delete using find command. Syntax: ~]# find . -inum -exec rm -rf {} \; 2.) Second way is use rm command in following manner. Syntax: ~]# rm -rf ./ Now let me show you with Example. Here suppose I have a file having name ~test1. So for deleting this file.... Using find command : ...