Tips / Linux
find command howto search content on files with specific size
Author: Katrame
Visits: 1792
Date: 20.08.2007
This command allow user to search for a specific content for example an ip address "192.168.0.1" on all file but not greater than 100k size:
find / -type f -size -100k -exec grep -HIils "192\.168\.0\.1" {} \;
Author: Katrame
Visits: 1792
Date: 20.08.2007
This command allow user to search for a specific content for example an ip address "192.168.0.1" on all file but not greater than 100k size:
find / -type f -size -100k -exec grep -HIils "192\.168\.0\.1" {} \;
Page 1 of 1
Se vuoi discutere con noi su questo articolo o comunque vuoi porci delle domande usa il nostro Forum

