Find all the files or directories with Lucy as the owner, and copy to /tmp/findfiles directory.

Find all the files or directories with Lucy as the owner, and copy to /tmp/findfiles directory.

Answer: (1) find /etc -size 10k -exec cp {} /tmp/findfiles ;

(2) find / -user lucy -exec cp -a {} /tmp/findfiles ;

Note: If find users and permissions, you need to use cp – a options, to keep file permissions and user attributes etc.

Latest EX200 Dumps Valid Version with 111 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments