NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
eton
Jan 28, 2013Luminary
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:
Excluded directories: /c, /USB, /home, /proc and /sys. Hidden files also excluded. And persmissions are printed.
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
Related Content
NETGEAR Academy

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