Reputation: 215
So far I am trying :
find / -mtime -1 -print ! -user root
However it doesn't seem to work. Any advice would be welcome.
Upvotes: 0
Views: 996
Reputation: 43
If you want to constraint your search to file entries you must add the parameter -type
Should be something like this:
find / -mtime -1 -print ! -user root -type f
Upvotes: 2