Learn the Command Line: Redirecting Input and Output
Make command-line tools work together. Send output and errors into files, feed files and text into commands, and build pipelines that sort, count, search and edit text with sort, uniq, cut, grep and sed.
- Beginner level
- 3 modules
- 12 lessons
- 71 tasks and questions
Syllabus
01Streams and RedirectionUnderstand standard input, output and error, then point each one where you want it: into files, appended to logs, thrown away, or fed in from files and inline text. Ends with a quiz.5 lessons
02Pipes and FiltersChain small tools into pipelines. Slice columns with cut, count with wc, order and de-duplicate with sort and uniq, search with grep, and edit streams with sed. Ends with a quiz.5 lessons
03Project: The Morning Show ReportCombine redirection, pipes and filters to turn a raw playlist and listener requests into a tidy report file, then test yourself with a mixed review quiz.2 lessons