Ask Question
13 September, 10:30

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. 13 September, 10:38
    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 & 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