Free EX200 Exam Braindumps (page: 2)

Page 2 of 35

SIMULATION
Find the files owned by harry, and copy it to catalog: /opt/dir

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# cd /opt/
# mkdir dir
# find / -user harry -exec cp -rfp {} /opt/dir/ \;



SIMULATION
Find the rows that contain abcde from file /etc/testfile, and write it to the file/tmp/testfile, and the sequence is requested as the same as /etc/testfile.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# cat /etc/testfile | while read line;
do
echo $line | grep abcde | tee -a /tmp/testfile
done

OR

grep `abcde' /etc/testfile > /tmp/testfile



SIMULATION
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# fdisk /dev/sda
p
(check Partition table)
n
(create new partition: press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions) Enter
+2G
t
l
W
partx -a /dev/sda
partprobe
mkswap /dev/sda8
Copy UUID
swapon -a
vim /etc/fstab
UUID=XXXXX swap swap defaults 0 0
(swapon -s)



SIMULATION
Create a user named alex, and the user id should be 1234, and the password should be alex111.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# useradd -u 1234 alex
# passwd alex
alex111
alex111

OR

echo alex111|passwd -stdin alex



Page 2 of 35



Post your Comments and Discuss RedHat EX200 exam with other Community members:

chukwuemeka ubajaka commented on May 17, 2022
Can't i get redhat 8 version of the questions instead of the redhat 6 version, as the syntax of redhat 8 and 6 is not the same.
UNITED STATES
upvote

Sandeep commented on March 19, 2021
Zabar Dast! So accurate and so real. Passed my exam lasat week.
INDIA
upvote

Dan commented on December 16, 2019
How do i print the pdf download, its password protected. I want to print the file and study before the exam in couple days
Anonymous
upvote

Carlo Shamany commented on July 17, 2019
good havent taken the test but feel confident.
UNITED STATES
upvote