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

Info icon This preview shows pages 1–21. Sign up to view the full content.

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

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

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

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

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

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

View Full Document Right Arrow Icon
Ch 9 6 Overview Overview Learn how to combine commands using pipes, filters, and redirection.
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
Image of page 7

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

View Full Document Right 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
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.
Image of page 9

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

View Full Document Right 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
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.
Image of page 11

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

View Full Document Right 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
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)
Image of page 13

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

View Full Document Right 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
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
Image of page 15

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

View Full Document Right 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
Image of page 16
Ch 9 17 Filters Filters Filter commands manipulate information.
Image of page 17

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

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

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

View Full Document Right Arrow Icon
Ch 9 20 Filters Filters Operating system will not be able to execute filter commands on write-protected disk.
Image of page 20
Image of page 21
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern