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 010-160 topic 1 question 73 discussion

Actual exam question from LPI's 010-160
Question #: 73
Topic #: 1
[All 010-160 Questions]

Which of the following commands finds all lines in the file operating-systems.txt which contain the term linux, regardless of the case?

  • A. igrep linux operating-systems.txt
  • B. less -i linux operating-systems.txt
  • C. grep -i linux operating-systems.txt
  • D. cut linux operating-systems.txt
  • E. cut [Ll] [Ii] [Nn] [Uu] [Xx] operating-systems.txt
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Ezra3579
5 months, 3 weeks ago
The -i switch in the grep command is used to perform a case-insensitive search. When you use -i with grep, it tells grep to ignore the distinction between uppercase and lowercase letters while searching for a pattern in the input text.
upvoted 4 times
...
beazzlebub
2 years, 9 months ago
C is correct
upvoted 2 times
...
pinoypingu
2 years, 10 months ago
- i ignore the case sensitivity.
upvoted 3 times
...
kotikbas
2 years, 10 months ago
# grep -i linux file.txt Linux LINux linux
upvoted 3 times
...
franck_yao
3 years, 7 months ago
Thanks
upvoted 3 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 ...