Kain
October 31, 2008, 4:52pm
1
Is there a shell command that will allow me to list index files in the /home directory for all users on a server that have been updated within the past 24 hours?
(e.g. index.htm .html .php in/home/user1/public_html /home/user2/public_html /home/user3/public_html etc )
joeyg
October 31, 2008, 5:03pm
2
This should get you started...
> find /home/ -mtime -1 2>/dev/null
From that output, you could grep -e for your specifics, or... (many options)
Kain
October 31, 2008, 8:20pm
3
THanks, should have mentioed that I'm clueless about shell commands
I ran that command and it returned a huge list, could you give me a step by step giude
Thanks