5 The Shell

In This Chapter

The Command Line

Standard Input and Standard Output

Redirection

Pipes

Running a Program in the Background

kill: Aborting a Background Job

Filename Generation/Pathname Expansion

Builtins

This chapter takes a close look at the shell and explains how to use some of its features. For example, it discusses command line syntax and also describes how the shell processes a command line and initiates execution of a program. The chapter also explains how to redirect input to and output from a command, construct pipes and filters on the command line, and run a command in the background. The final section covers filename expansion and explains how you can use this feature in your everyday work.

Except as noted everything in this ...

Get A Practical Guide to UNIX for Mac OS X Users 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.