Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn the Command Line: Redirecting Input and Output

via Codecademy

Overview

Learn to redirect input and output to and from files and programs.
Continue your command line learning journey! In this course, you will learn how to redirect standard input, standard output, and standard error messages. You’ll learn how to display the contents of a file, write to that file, search through directories, and more.


* Use grep to search

* Use sed to modify input

* Sort lines of text


### Notes on Prerequisites
We recommend that you complete [Learn the Command Line: Viewing and Changing the File System](https://www.codecademy.com/learn/learn-the-command-line-viewing-and-changing-the-file-system) before completing this course.

Syllabus

  • Redirecting Input and Output: Learn to redirect input and output to and from files and programs.
    • Lesson: Redirection
    • Quiz: Redirecting Input and Output
    • Project: Athletica
    • Informational: Next Steps

Taught by

Kenny Lin

Reviews

4.6 rating at Codecademy based on 77 ratings

Start your review of Learn the Command Line: Redirecting Input and Output

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.