Ask Question
25 January, 12:03

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?

+5
Answers (1)
  1. 25 January, 13:22
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers