Ch09Powr - Pipes Filters and Redirection Ch 9 1 Overview...

Info iconThis preview shows pages 1–20. Sign up to view the full content.

View Full Document Right Arrow Icon
Ch 9 1 Pipes, Filters and Redirection
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ch 9 2 Overview Overview Will use redirection to redirect standard input and standard output.
Background image of page 2
Ch 9 3 Overview Overview Learn how pipes can be used to connect programs.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ch 9 4 Overview Overview How filters can be used to manipulate data will be explained.
Background image of page 4
Ch 9 5 Overview Overview What shell extensions are and how they may be used will be discussed.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ch 9 6 Overview Overview Learn how to combine commands using pipes, filters, and redirection.
Background image of page 6
Ch 9 7 Redirection of Standard Redirection of Standard I/O I/O (Input/Output) (Input/Output) Operating system gets information from or sends information to: Standard input Standard output Standard error
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ch 9 8 Redirection of Standard Redirection of Standard I/O I/O (Input/Output) (Input/Output) Fig 9.1 Input and Output Devices p. 440 Fig 9.1 Input and Output Devices p. 440
Background image of page 8
Ch 9 9 Redirection of Standard Redirection of Standard I/O I/O (Input/Output) (Input/Output) Not all commands deal with standard input/output.
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ch 9 10 Redirection of Standard I/ Redirection of Standard I/ O O (Input/Output) (Input/Output) Fig 9.2 Results of Copy Command p. 440 Fig 9.2 Results of Copy Command p. 440
Background image of page 10
Ch 9 11 Redirection of Standard Redirection of Standard I/O I/O (Input/Output) (Input/Output) I/O redirection tells OS you want information read from or written to a device other than the standard ones.
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ch 9 12 Redirection of Standard I/ Redirection of Standard I/ O O (Input/Output) (Input/Output) Fig 9.3 Redirecting Standard Output p. 441 Fig 9.3 Redirecting Standard Output p. 441
Background image of page 12
Ch 9 13 Redirection of Standard I/ Redirection of Standard I/ O O (Input/Output) (Input/Output) Symbols used for redirection: > (greater than) < (less than) >> (double greater than)
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ch 9 14 Activity—Using > to Activity—Using > to Redirect Standard Output Redirect Standard Output KEY CONCEPTS: Redirection is either/or process Redirection works with commands that write their results to standard output device (screen) Using > COPY can only copy files, not commands
Background image of page 14
Ch 9 15 Activity—Using < to Activity—Using < to Redirect Standard Input Redirect Standard Input KEY CONCEPTS: DEL*.* requires keyboard response Using < Any input from keyboard ignored if redirection of input is from a file
Background image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ch 9 16 Activity—Using >> to Add Activity—Using >> to Add Redirected Output to a File Redirected Output to a File KEY CONCEPTS: Using > between files - first file overwrites second file Using >> between files - first file appended to end of second file
Background image of page 16
Ch 9 17 Filters Filters Filter commands manipulate information.
Background image of page 17

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ch 9 18 Filters Filters Three filter commands: SORT FIND MORE
Background image of page 18
Ch 9 19 Filters Filters Operating system creates temporary files while it “filters” data.
Background image of page 19

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 20
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/05/2010 for the course CIS CIS 103 taught by Professor Dorisdunn during the Winter '09 term at Skagit Valley College.

Page1 / 57

Ch09Powr - Pipes Filters and Redirection Ch 9 1 Overview...

This preview shows document pages 1 - 20. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online