exam questions

Exam 350-201 All Questions

View all questions & answers for the 350-201 exam

Exam 350-201 topic 1 question 127 discussion

Actual exam question from Cisco's 350-201
Question #: 127
Topic #: 1
[All 350-201 Questions]

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

  • A. grep -i ג€yellowג€ colors.txt
  • B. locate ג€yellowג€ colors.txt
  • C. locate -i ג€Yellowג€ colors.txt
  • D. grep ג€Yellowג€ colors.txt
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
27ea763
4 months, 4 weeks ago
Selected Answer: A
grep is for looking inside files
upvoted 1 times
...
BobCoolio
1 year, 9 months ago
This was easy to test. A is correct.
upvoted 1 times
...
maxson69
2 years ago
A is correct grep -i “yellow” colors.txt
upvoted 4 times
...
Bobster02
2 years ago
Selected Answer: C
locate -i Yellow colors.txt
upvoted 1 times
jay_c_an
9 months ago
locate is for file search. grep is for content search within a file.
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 ...