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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.