KnowledgeCity

Manipulating Text and File Redirection

Learn about redirection and how to manipulate text in Linux
Preview the first lesson free — get full access to all 7 lessons.

To view this video please enable JavaScript.

Course: On-Demand
Beginner  Provider Jeremy Kurtz  7 Lessons ·  45m  in Arabic, German, English, Spanish, French, Portuguese, Chinese Simplified 

What You'll Learn

  • Identify standard input, output, and error (stdin, stdout, and stderr) at the Linux command prompt
  • Redirect command output into a file using redirection commands and redirector characters
  • Combine multiple commands using pipes and redirection to run commands more efficiently
  • View text and parts of a document with the cat, head, tail, more, and less commands
  • Search within documents using the grep command
  • Edit and create text files using the Vi and Nano editors

Key Takeaways

  • Linux lets you manipulate text in documents automatically from the command prompt using certain commands.
  • Command output normally appears on the screen, but redirectors can send that output into a particular file.
  • There are different types of redirectors for both input and output, depending on the task you want to accomplish.
  • Combining multiple commands lets you complete tasks more quickly and ensures all commands are run.
  • The lessons cover searching, creating, editing, and viewing various parts of a document.

Frequently Asked Questions

What will I learn in this course?

You will learn about standard input, output, and errors, plus redirection commands and how to combine commands. The lessons also focus on manipulating text and cover searching, creating, editing, and viewing various parts of a document.

Which Linux commands and tools does this course cover?

The course covers stdin, stdout, and stderr; removing unwanted errors; pipes and multiple commands with redirection; viewing text with cat, head, tail, more, and less; the grep command; editing text with Vi; and using Nano.

What are file redirectors in Linux?

Redirectors are commands or characters that let you redirect command output into a particular file instead of only showing it on the screen. There are different types for both input and output, depending on the task you want to accomplish.

What skills will I gain from this course?

The course builds skills in command and data handling, data manipulation, file handling, instruction delivery, working with text files, and text manipulation.