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.
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.