RedHat EX200 Exam - Topic 1 Question 45 Discussion
Part 1 (on Node1 Server)Task 7 [Accessing Linux File Systems]Find all the files owned by user natasha and redirect the output to /home/alex/files.Find all files that are larger than 5MiB in the /etc directory and copy them to /find/largefiles.
A) Explanation:
[root@node1 ~]# find / -name natasha -type f > /home/natasha/files
[root@node1 ~]# cat /home/natasha/files
/var/spool/mail/natasha
/mnt/shares/natasha
[root@node1 ~]# mkdir /find
[root@node1 ~]# find /etc -size +5M > /find/largefiles
[root@node1 ~]# cat /find/largefiles
/etc/selinux/targeted/policy/policy.31
/etc/udev/hwdb.bin
Lenita
8 months agoPhuong
8 months agoYolande
9 months agoRebeca
9 months agoKathryn
9 months agoNovella
9 months agoMargot
9 months agoKenneth
9 months agoPolly
9 months agoShelba
9 months agoBilli
9 months agoMignon
9 months ago