Thread: Server Question
View Single Post
Old 12-31-2008, 01:22 PM  
PR|Jordan
Confirmed User
 
Join Date: Oct 2008
Posts: 244
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.
This would just give him the file locations not the list like he was needing - gotta use a sed in there.
__________________
Jordan Jacobs - OC3 Networks / Pacific Rack - ICQ:1408 1732 - jjacobs[@]pacificrack.com
These deals ROCK!
Dual Core E2180, 2GB DDR2, 250GB SATA-2, 2000GB - $89 /month
Quad Core Q9300, 2GB DDR2, 250GB SATA-2, 2000GB - $129 /month
PR|Jordan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote