Having a basic understanding of the capabilities of the shell command line can help you write better shell scripts. If, after you have finished reading this short introduction, you want to learn more about the command line, check out Chapter 10, “Command-Line Master Class.” You can use the shell command line to perform a number of different tasks, including the following:
• Searching files or directories with programs using pattern matching or expressions. These commands include the GNU
gawk (linked as
awk) and the
grep family of commands, including
• Getting data from and sending data to a file or command, known as input and output redirection.
• Feeding or filtering a program’s output to another command ...