این دستور برایه فایلایه غیر دایرکتوری. هر نوع فایلی رو به غیر از دایرکتوری پیدا میکنه.
وارد home دایرکتوریتون بشین بعد اجراش کنین. جایه 777 هم پرمیشنی که گفتین رو بزارین
find . -type f -maxdepth 1 -print -exec /bin/chmod 777 {} \;
برایه نوع هایه دیگه فایل هم این و نگاه :
-type c
File is of type c:
b block (buffered) special
c character (unbuffered) special
d directory
p named pipe (FIFO)
f regular file
l symbolic link; this is never true if the -L option or the -follow
option is in effect, unless the symbolic link is broken. If you
want to search for symbolic links when -L is in effect, use
-xtype.
s socket
D door (Solaris)