Search Text Files using Regular expressions Flashcards
What does the . do
Represents a single character
What does the ^ command do
Search the beginning of a line
What does the $ command do
Search the end of a line
What does the command [abc] do
Search for specified characters
What does the command [^abc] do
Search for other characters, but not these
What does the command * do
Match zero or more of the preceding characters or expression
what does the command man7 regex do
Manual pages for regular expressions
What does the command sed do
The stream editor command can operate on files using regular expressions
What does the command egrep do
searches a specified file line by line, returning lines that contain a pattern matching a given regular expression
what does the command fgrep do
Searches based on strings rather than patterns. Also uses file globbing instead of regular expressions