Thread: Server Question
View Single Post
Old 12-31-2008, 09:17 AM  
million
Confirmed User
 
Join Date: Apr 2006
Location: Pornyland
Posts: 789
Quote:
Originally Posted by netpimp View Post
find / -name "*.php" -print > /tmp/phpfilelist.txt

or

find / -name "*.php" -print | more


locate would work above too, provided your locate database update script has ran, which is usually a middle of the night type of cronjob.
The binary is called "updatedb". It updates the slocate database, which the binary "locate" uses later.
__________________
<sig spot goes here>
million is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote