Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam EX200 topic 1 question 38 discussion

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

SIMULATION -

Search a String -
Find out all the columns that contains the string seismic within /usr/share/dict/words, then copy all these columns to /root/lines.tx in original order, there is no blank line, all columns must be the accurate copy of the original columns.

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

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
KimoHasNoBalls
1 year, 8 months ago
Do they want "rows" or "columns" ? No idea how to find and redirect columns but rows is easy
upvoted 1 times
...
14_aman
1 year, 10 months ago
IF I do run this command : grep seismic -w /usr/share/dict/words > /root/lines.tx . please explain . Am I saying right ?
upvoted 1 times
...
noobmaster96
2 years, 5 months ago
cat /usr/share/dict/words | grep seismic > /lines.tx
upvoted 1 times
...
STFN2019
2 years, 7 months ago
grep seismic /usr/share/dict/words > /root/lines.tx cat /root/lines.tx
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 ...