Ask Question
21 March, 09:48

You have a file named "students. txt" that lists the names of all the students in the schoolsystem. You want to count how many of the names (either first or last) contain Franklin. Which command would do this for you?

+3
Answers (1)
  1. 21 March, 09:53
    0
    grep - c Franklin students. txt

    Explanation:

    The grep command in Unix/Linux is the short form of 'global search for the regular expression' is usually used as a filter to search for text or for lines in a given file that will match a given string or words.

    In the given filename "Franklin students. txt" to count how many names that contain Franklin, the command grep - c Franklin students. txt will search for texts in the file that will match the string "Franklin".
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “You have a file named "students. txt" that lists the names of all the students in the schoolsystem. You want to count how many of the names ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers