locate:
locate search
ps:fastly speed
updatedb every day 0:00 update files
find /etc -name
find slowly but accurate
find -name snow.png
find -iname snow.png case-insentment
find / -name '*.txt'
exaple: find /home -user joe -group joe
find -user joe -not -group joe
find -user joe -o -user jane -o equal -or
find -not /( -user joe -o -user jane /) neither joe or jane
echo /cost: $5.00
find / -user joe -o -uid 500
find -perm 755 matches jf mode is exactly 755
/ find -perm +222 matches if anyone can write
find -perm -222 matches if everyone can write
find -perm -002
find -size +10M modifiers are aviliable ps : k M G but not t or T
dd if=/dev/zero of=1.txt bs=1M count=10
ls -l list time must be mtime
ctime when file data or Metadata last changed
find /tmp -ctime +10 10day
-atime when file was last read
-mtime when file fata last changed
-ctime when file data or Metadata lste changed
find /etc -amin -60 -60 durthing 60minute
find /var -size +1M |wc -l
find -size +100M -ok mv { } /tmp/largefiles/ /; { } equal {}
find /etc/ -name *.conf -ok /bin/cp { } /tmp/{ }.orig /;
find /etc/ -name '*.conf' -exec cp { } /tmp/ /;
find -name '*.conf' -exec cp { } { } .orig /;
find ~ -perm -002 -exec chmod 0-w { } /;
find /home -type d -ls
find -not -perm +111 -name '*.sh' -ok chmod 755 {} /;
Which command will search your entire filesystem for a file named South.png?