This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
shell:find [2020/04/08 15:37] – [find] tmade | shell:find [2020/06/20 05:10] – [find] tmade | ||
---|---|---|---|
Line 13: | Line 13: | ||
find /tmp -mtime +5 -exec rm {} \; # | find /tmp -mtime +5 -exec rm {} \; # | ||
find /tmp/* -mtime +5 -exec rm -rf {} \; # | find /tmp/* -mtime +5 -exec rm -rf {} \; # | ||
+ | find / | ||
find / | find / | ||
find / | find / | ||
find . -name " | find . -name " | ||
- | find /somedir -type f -exec chmod 666 {} \; #Find files in "/ | + | find /somedir -type f -exec chmod 644 {} \; #Find files in "/ |
+ | find . -type d -exec chmod 775 {} \; #Find folder in " | ||
find . -type f -print0 | xargs -0 chmod 666 #Find files in " | find . -type f -print0 | xargs -0 chmod 666 #Find files in " | ||
+ | find . -name " |