Jump to content

Linux Administration/Commands/Searches

From Wikiversity

This lesson covers text searches using regular expressions.

Objectives and Skills

[edit | edit source]

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 | edit source]
  1. Wikipedia: grep

Multimedia

[edit | edit source]

Activities

[edit | edit source]
  1. Complete the tutorial IBM: Learn Linux, 101: Search text files using regular expressions

Lesson Summary

[edit | edit source]

Key Terms

[edit | edit source]

References

[edit | edit source]