Next 14.A: Viewing Files with head Prev 13: Final Exam Contents


Specialized

§ 14:  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.

This section covers some common, but not basic, commands used by scientists. We start with commands for viewing and concantenating 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 14.A: Viewing Files with head Prev 13: Final Exam Contents


Comments and questions to CP-questions@nacse.org.