NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

eton's avatar
eton
Luminary
Jan 28, 2013

Find all files modified within 24 h, unwanted dirs excluded

It's useful when troubleshooting to find all system files modified within last 24 hours.

In a terminal window with SSH access to the server:
# find / \( -path /c -o -path /USB -o -path /home -o -path /proc -o -path /sys \) -prune -o -type f ! -name '.*' -mtime -1 -exec ls -ld {} \;

Excluded directories: /c, /USB, /home, /proc and /sys. Hidden files also excluded. And persmissions are printed.
No RepliesBe the first to reply

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More