Forum Moderators: phranque

Message Too Old, No Replies

How do I search for a file on Apache?

         

sisom

11:40 pm on Jan 22, 2011 (gmt 0)

10+ Year Member



I am trying to find the file class.phpmailer.php on my Apache server, but I have searched and searched and can't find how to use the '-find' command properly - I want to search the whole server (as obviously if I knew what folder class.phpmailer.php was in, I wouldn't need to find it!), but the -find command only searches the folder I'm in. Or is there a parameter I need to add? Because it's the '-find' command, it makes it very difficult for me to 'find' it when using Google to search for posts on it!

johnblack

12:04 am on Jan 23, 2011 (gmt 0)



I'm no Apache/linux expert but I reckon

find . -name class.phpmailer.php

would do the trick. Possibly not exactly what you need but a good starting place hopefully.

sisom

12:52 am on Jan 23, 2011 (gmt 0)

10+ Year Member



Many thanks John, I will give it a try and let you know it if works!

jdMorgan

11:45 pm on Jan 24, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Look up the "man page" for "find"...

Jim