Friday, 26 April 2013

The power of find command in linux

This is power full command in linux , which can be used for multiple purpose find some

1. find the files which modified  less than one day or exactly one day or more than one day


command: find . -mtime 1  ---> to find exactly one day

command: find . -mtime +1  ---> to find more than one day

command: find . -mtime -1  ---> to find less than one day


2. find the files which have only read permissions

command : find . -mperm 444

No comments:

Post a Comment