CORRECT TEXT
Find the files owned by harry, and copy it to catalog: /opt/dir
Answer: A
Explanation:
# cd /opt/
# mkdir dir
# find / -user harry -exec cp -rfp {} /opt/dir/ \;
CORRECT TEXT
Find the files owned by harry, and copy it to catalog: /opt/dir
CORRECT TEXT
Find the files owned by harry, and copy it to catalog: /opt/dir
Answer: A
Explanation:
# cd /opt/
# mkdir dir
# find / -user harry -exec cp -rfp {} /opt/dir/ \;
find / – user harry -exec cp -rfp {} /opt/dir/ \;
mkdir /opt/dir (this goes first obviously)
In case someone doesn’t understand this, I would like to leave an explanation.
find: find command
where in root : /
how, files owned by a user: -user
name of user: harry
execute : -exec
copy: cp
results of previous command will go in {} so these brackets are just symbols that whatever result came from previous command will be copied now
path of destination : /opt/dir
end of line : \;
Key Points For Preparing NEW RHEL 7 EX200 Exam:
http://www.mcsdbible.com/key-points-for-preparing-new-rhel-7-ex200-exam.html
this command should work also:
find / -user harry | xargs cp -t /opt/dir/
Red Hat EX200 Passing Tips FYI:
As we all konw, the Red Hat EX200 has been updated from version 6 to version 7 NOW. There are MANY new topics in the RHEL 7 EX200 exam: the COMMANDS like NMCLI and so on.
Difference between RHEL 7 EX200 exam and RHEL 6 EX200 exam FYI:
1. systemctl VS init
2. journalctl in combination with syslog
3. gdisk VS fdisk
4. firewalld VS iptables
…etc.
When preparing for the Red Hat EX200 exam, I suggest you:
1. DO NOT only learn the RHEL 6 study materials, read the RHEL 7 study materials as much as possible.
2. Pay close attention to these objects:
(a) Configure a default software repository for your system
(b) Adjust the size of the Logical Volume
(c) Configure /var/tmp/fstab Permission
(d) Configure a cron Task
(e) Create a Shared Directory
(f) Configure NTP
(g) Add a swap partition
(h) Search files and string
(i) Create a logical volume
3. Reading the Red Hat official EX200 study guide carefully and deeply.
4. Recommend to learn the newest Red Hat EX200 dumps from passleader.com, here you can get FREE version of new passleader EX200 dumps (108 Actual Labs) on Google Drive:
https://drive.google.com/open?id=0B-ob6L_QjGLpM1FIWmJ5UlRHZVE
GOOD LUCK!!!
By the way, the valid EX300 dumps (89q Actual Lab) also available on Google Drive (shared by passleader.com):
https://drive.google.com/open?id=0B-ob6L_QjGLpbUdQZ0o3a2lxQ1k
Best Regards!!!