DOC PREVIEW
DMC ITSC 1405 - Chapter 9 Pipes, Filters, and Redirection

This preview shows page 1 out of 2 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Instructor: Prof. Michael P. Harris Chapter9 ITSC 1405 – Intro to PC Operating Systems Pipes, Filters, and RedirectionChapter 9Pipes, Filters, and RedirectionLEARNING OBJECTIVES1. List the standard input and output devices.2. Explain redirection.3. Explain what filters are and when they are used.4. Formulate and explain the syntax of the filter commands SORT, FIND, and MORE.5. Explain when and how to use the SORT, FIND, and MORE commands.6. Explain what shell extensions are and how you may use them.7. Explain what pipes are and how they are used.STUDENT OUTCOMES1. Use > and >> to redirect standard output.2. Use < to redirect standard input.3. Use filter commands to manipulate information.4. Enable shell extensions and use extended features.5. Combine commands using pipes, filters, and redirection.CHAPTER SUMMARY1. The redirection symbols are >, <, and >>.2. The >> appends output to the end of a file.3. Redirection, pipes, and filters have to do with standard input and standard output.4. Any command that expects its input from the keyboard has standard input.5. Any command that normally displays its output on the screen has standard output.6. Standard error means that the operating system writes error messages to the screen.7. You can redirect standard input and output to and from devices or files.8. The pipe symbol is |.9. The pipe takes standard output from one command and uses it as standard input for the next command.10. You can pipe many programs together.11. Filters take data, change it in some fashion, and send the output to the screen.12. The three filters are SORT, FIND, and MORE.13. Two of the SORT parameters are /R for reverse order and /+n for column number.14. FIND has four parameters: /V for everything except the specified item, /C for the number of occurrences of the item, /N for the line number where the item appears in the file, and the /I for results regardless of case.Carolyn Z. Gillay, Bette A. Peat, Windows XP Command Line Page 1Franklin, Beedle & Associates ©2003 ISBN: 1-887902-82-1Instructor: Prof. Michael P. Harris Chapter9 ITSC 1405 – Intro to PC Operating Systems Pipes, Filters, and Redirection15. MORE lets you look at text files one screenful at a time. The parameter /C clears the screen before the display begins.16. You may enable shell extensions (extended features) in a command prompt window. However they are enabled by default. Extensions give you more options with commands.17. You must have a command on both ends of the pipe.18. Redirection is the last action you can take. You write either to the screen or to a file, not to both. You either accept input from the keyboard or from a file.19. You can string together pipes and filters to create your own commands.20. Each part of a command must be able to stand alone on the command line.21. Redirection performs an “instead of” action.KEY TERMSASCII sort sequencecase-sensitivecharacter stringextensionfiltersinput/output (I/O)pipe (|)redirectionstandard errorstandard inputstandard output Carolyn Z. Gillay, Bette A. Peat, Windows XP Command Line Page 2Franklin, Beedle & Associates ©2003 ISBN:


View Full Document

DMC ITSC 1405 - Chapter 9 Pipes, Filters, and Redirection

Documents in this Course
Firewall

Firewall

53 pages

Syllabus

Syllabus

11 pages

Load more
Download Chapter 9 Pipes, Filters, and Redirection
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Chapter 9 Pipes, Filters, and Redirection and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Chapter 9 Pipes, Filters, and Redirection 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?