I want to list all files (in all subfolders) with xxx.* file name. How do I do that? I found a few files planted by hackers and want to make sure I have deleted all of them.
I tried this but not working:
ls -lR xxx.*
I want to list all files (in all subfolders) with xxx.* file name. How do I do that? I found a few files planted by hackers and want to make sure I have deleted all of them.
I tried this but not working:
ls -lR xxx.*
SuperBaby
You could use find if you are having no luck with -R.
cd /home/username/public_html
find filename.ext
Yeah, but I have too many folders and subfolders. I need to have something more automated to search all subfolders automatically.
SuperBaby
Suppose that you want to find all files under /home with the extension .cgi you should execute
Code:find /home -name \*\.cgi
That is exactly what I want. A thousand thanks.
SuperBaby