ID:185260
Mar 20 2006, 9:38 am
|
|
I've been using a cron job to ping all online servers (to check if they're still online, just a little back-up check), but instead of actually executing the PHP file (PHP isn't set on CGI mode), I just used the wget command to grab the file. What I failed to notice was that it was downloading my PHP files and saving them on the home folder (duh!). So now I'm stuck with thousands of files (named: stuff.php.largenumber), I was wondering if there's a linux command that can delete all files that start with a certain letter or two. I seriously don't want to 'rm' all the files manually.
|
Mar 20 2006, 9:53 am
|
|
rm stuff* should remove them all. (* is a wildcard character in the Linux command line)
|
In response to Nadrew
|
|
I love you. :)
|