Chapter 5: Text, editors and the shell environment

Send command output where you want it, search text with grep, edit files with vim, and set up your shell with variables, aliases and startup files.

What you will learn

Sections

  1. Redirection and pipes
  2. Exercise: Capture and combine output
  3. Search text with grep
  4. Exercise: Answer questions with grep
  5. Edit files with vim
  6. Exercise: Create and edit a file with vim
  7. Variables, aliases and startup files
  8. Exercise: Customise your shell
  9. Exercise: Text and environment review
  10. grep, vim and Bash quiz
  11. grep, vim and Bash cheat sheet