A single letter is a string, as is a word or a sentence.
In this example, string is the word or phrase you want to find, and file is the file to be searched.Ī string is one or more characters. To search for a particular character string in a file, use the grep command.