Using Text Processing and Filters in Your Scripts

In the last chapter, you studied basic process management. You learned about the ps command. You also studied job management by using commands such as jobs, fg, bg, kill, and pkill, as well as various other tools, such as top, iostat, and vmstat. In this chapter, we will cover the following topics:

  • Using more, less, head, and tail
  • Using diff, cut, paste, comm, and uniq
  • Working with grep
  • Understanding standard input, standard output, and standard error
  • Understanding various meta-characters and their usage

Get Learning Linux Shell Scripting - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.