up previous next contents
Next: Your Terminal Up: Combining UNIX Commands Previous: Example 3-5: Simple pipelines.   Contents

An example of a more complex pipeline:

ps -ef | grep -v root | sort | more

This example creates a full listing of every process, eliminates the processes that contain the word root, sort the processes, and display the output in a controlled manner using the more command.


up previous next contents
Next: Your Terminal Up: Combining UNIX Commands Previous: Example 3-5: Simple pipelines.   Contents