This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
shell:find [2020/05/29 00:26] – [find] tmade | shell:find [2024/03/21 14:09] (current) – [find] tmade | ||
---|---|---|---|
Line 20: | Line 20: | ||
find . -type d -exec chmod 775 {} \; #Find folder 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 " | ||
+ | ls -la $(find / | ||
+ | find /var/log -type f -newermt 2021-01-01 \! -newermt 2022-12-31 -delete |