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
10 months agoPhuong
10 months agoYolande
11 months agoRebeca
11 months agoKathryn
11 months agoNovella
11 months agoMargot
11 months agoKenneth
11 months agoPolly
11 months agoShelba
11 months agoBilli
11 months agoMignon
11 months ago