The Process Text Streams Using Filters module provides you with the instructions and devices to develop your hands on skills in the following topics:

Process text files using text utility filters for operations such as:

  • Print output from a single or multiple source files
  • Redirect the contents of file(s) into another file
  • Print only a specified portion of file(s)
  • Reformat file(s)
  • Combine multiple files
  • Translate file(s)
  • Split file(s)
  • Measure the file(s)

Lab time: It will take approximately 1 hour to complete this lab.

Exercise 1 - Process Text Streams using Filters

Linux OS provides commands that can be used as filters. These filters take the text from the specified source file, re-format the text as required, and store the output in a new file. Applying multiple commands can create text streams that are re-formatted at each command in the pipeline.

In this exercise, you will understand how to use filters to work with multiple commands.

Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.