CORRECT TEXT
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.
Answer: 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
grep ‘abcde’ /etc/testfile >> /tmp/testfile
awk ‘/abcde/’ /etc/testfile > /tmp/testfile
Good morning everyone
Please I want to correpond with all persons who like REDHAT
Key Points For Preparing NEW RHEL 7 EX200 Exam:
http://www.mcsdbible.com/key-points-for-preparing-new-rhel-7-ex200-exam.html
Recommend using the -r flag
awk -r ‘/abcde/’ /etc/testfile > /tmp/testfile
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!!!
thank you 정말 감사합니다,