CORRECT TEXT

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: see explanation below.

Explanation

# cat /etc/testfile | while read line;

do

echo $line | grep abcde | tee -a /tmp/testfile

done

OR

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

Latest EX200 Dumps Valid Version with 111 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments