Next 12.A: Viewing Files with head Prev 11.B: Forwarding Your Email Contents Contents

Specialized

§ 12:  Manipulating Files


One of the best features of Unix is the wide variety of ways to manipulate files and data. Most of your ordinary needs should be met with the list, copy, move, remove, view, edit, and print commands. If you need a command for something out of the ordinary, check the man pages, it's probably there.

To get you started, this section covers a few of those "out of the ordinary" commands. We start with commands for viewing and concatenating files. Then we look at I/O redirection. And finally we look at some commands for searching.

  1. View Files with head
  2. Concatenate with cat
  3. I/O Redirect with < and >
  4. Append with >>
  5. Pipe with |
  6. Find Files with find
  7. Search Files with the grep family
  8. Sort Files with sort
  9. Compare Files with diff and cmp

Next 12.A: Viewing Files with head Prev 11.B: Forwarding Your Mail Contents Contents

Comments and questions to request@cs.fiu.edu.