Ask Question

You have a bunch of text files in your home directory, and you are trying to find which ones contain the name "Backman". You are not certain if the name is all lowercase, has only the first letter capitalized, or is all caps. What command would you type to search within all the files in your current working directory for the name "Backman", and ignore case?

+3
Answers (1)
  1. 31 May, 14:21
    0
    grep - i backman *

    Explanation:

    grep command is a unix command line utility that is use to search for plain text.

    Running

    grep - i backman *

    command will bring back all occurrence of backman in the directory while ignoring the case whether it's upper or lower.

    grep is the keyword

    The - i means grep should ignore the case.

    Then backman is the search word to find.

    The wildcat (*) means all occurrence of backman should be returned.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “You have a bunch of text files in your home directory, and you are trying to find which ones contain the name "Backman". You are not ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers