RedHat EX200 Exam - Topic 3 Question 75 Discussion
1. Find all sizes of 10k file or directory under the /etc directory, and copy to /tmp/findfiles directory.2. Find all the files or directories with Lucy as the owner, and copy to /tmp/findfiles directory.
A) Explanation:
(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.
Brock
10 months agoPaz
10 months agoBarrie
10 months agoOneida
10 months agoMarta
11 months agoBernardine
11 months agoCassi
11 months agoLaquita
11 months agoNettie
11 months agoYuette
11 months agoJody
11 months agoRemona
11 months agoAlline
11 months agoRaul
11 months agoJuliann
11 months agoChandra
11 months agoLenita
11 months agoCecilia
11 months agoCatina
1 year agoFidelia
1 year agoFidelia
1 year agoFidelia
1 year agoDarrin
1 year agoDoyle
1 year agoEric
1 year agoEric
1 year agoEric
1 year agoDelmy
1 year agoPa
1 year agoTruman
1 year agoDelmy
1 year agoClaribel
1 year agoOretha
1 year agoClaribel
1 year ago