Chapter 3. Using Text Processing and Filters in Your Scripts
In the last chapter, you studied about basic process management. You learned about the
ps command. You also studied about job management using commands such as
pkill as well as various other tools such as top, iostat, and vmstat.
In this chapter, you will cover the following topics:
- Using more, less, head, and tail
- Using diff, cut, paste, comm, and uniq
- Working with grep
- Understand standard input, output, and standard error
- Understand various metacharacters and their usage
Text filtering tools
Normally, Shell scripting involves report generation, which will include processing various text files and filtering their output to finally produce desirable results. Lets start discussing ...