Linux Administration/Commands/Searches

This lesson covers text searches using regular expressions.

Objectives and Skills edit

Objectives and skills for the text search portion of Linux+ certification include:[1]

  • Search text files using regular expressions
    • Create simple regular expressions containing several notational elements
    • Use regular expression tools to perform searches through a filesystem or file content
    • The following is a partial list of the used files, terms and utilities:
      • grep
      • egrep
      • fgrep
      • sed
      • regex(7)

Readings edit

  1. Wikipedia: grep

Multimedia edit

Activities edit

  1. Complete the tutorial IBM: Learn Linux, 101: Search text files using regular expressions

Lesson Summary edit

Key Terms edit

References edit