Grep Command in Unix with Simple Examples Example: “^Name” matches all lines that start with the string “Name”. ... Example:“^. ... Example: “\\$\\*” will match the lines that contain the string “$*” Example: “[aeiou]” will match all lines that contain a vowel. ... Examples: Apr 24, 2023