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

Cisco Exam 350-201 Topic 12 Question 96 Discussion

Actual exam question for Cisco's 350-201 exam
Question #: 96
Topic #: 12
[All 350-201 Questions]

Which bash command will print all lines from the ''colors.txt'' file containing the non case-sensitive pattern ''Yellow''?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Earleen
10 days ago
I'm not sure, but I think D) grep ''Yellow'' colors.txt might work too
upvoted 0 times
...
Kris
19 days ago
Option D would also work, but the -i flag in Option A makes it a bit more versatile.
upvoted 0 times
Alana
4 days ago
Option A) grep -i ''yellow'' colors.txt is the correct command to use.
upvoted 0 times
...
...
Silvana
20 days ago
I agree with Ashley, using grep with -i option ignores case sensitivity
upvoted 0 times
...
Ashley
21 days ago
I think the answer is A) grep -i ''yellow'' colors.txt
upvoted 0 times
...
Lauran
22 days ago
I agree with Shonda. Option A is the way to go for this task.
upvoted 0 times
...
Shonda
23 days ago
Option A is the correct answer! The -i flag in grep makes the search case-insensitive, so it will find both 'Yellow' and 'yellow' in the file.
upvoted 0 times
Wilda
4 days ago
Yes, you're right! The -i flag in grep makes it case-insensitive.
upvoted 0 times
...
Frank
10 days ago
I think the answer is A) grep -i ''yellow'' colors.txt
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77