exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

Exam EX200 topic 1 question 109 discussion

Actual exam question from RedHat's EX200
Question #: 109
Topic #: 1
[All EX200 Questions]

SIMULATION -
Find all lines in the file /usr/share/dict/words that contain the string seismic. Put a copy of all these lines in their original order in the file /root/wordlist. /root/wordlist should contain no empty lines and all lines must be exact copies of the original lines in /usr/share/dict/words.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
grep seismic /usr/share/dict/words> /root/wordlist

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
2022G
3 months ago
can we do it like this? #cd /usr/share/dict #grep seismic cp /root/wordlist
upvoted 1 times
...
STFN2019
9 months, 3 weeks ago
[root@uranium ~]# grep seismic /usr/share/dict/words > /root/wordlist [root@uranium ~]# cat /root/wordlist
upvoted 2 times
cloudyhr
6 months, 1 week ago
grep seismic /usr/share/dict/words >> /root/wordlist
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago