Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX200 Exam - Topic 3 Question 18 Discussion

Posted by Art on May 08, 2022 at 12:14 PM

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.

Suggested Answer: A

Get Premium EX200 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
11 comments · newest first
VO
Von 1 year ago
This is straightforward, no surprises here!
JE
Jerrod 1 year ago
I thought you needed to filter out empty lines manually?
GR
Gracia 1 year ago
Wait, does grep handle empty lines automatically?
SH
Shawnda 1 year ago
Totally agree, it's the simplest way.
TH
Thurman 1 year ago
Just use grep for that!
DO
Dorothy 1 year ago
I think we might need to use `grep -v` to exclude empty lines, but I’m not entirely sure if that’s necessary for this specific task.
LE
Leota 1 year ago
I believe the command should work, but I’m a bit confused about the output redirection part. Does it automatically remove empty lines?
BE
Bettina 1 year ago
I remember practicing a similar question where we had to filter words from a file, but I can't recall if we should use any additional options with grep.
BR
Brandon 1 year ago
I think we need to use grep to find the lines with "seismic," but I'm not sure if we need to handle empty lines specifically.
LA
Latricia 1 year ago
I remember learning about the Cloud Project Portal in class, so I think I can figure this out.
DA
Daren 1 year ago
Okay, the key here is to identify the three main types of business activities that are covered in the cash flow statement. I think it's D - operating, investing, and financing activities. Gotta remember those three categories.
0/2000 characters

Save Cancel