Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleSetup outside of class...

If you're coming back to this tutorial after class, or just ran across it on the Internet, here are the main 3 files we use. You can download them and follow along if you have a Unix or Linux laptop or server.

Not all examples shown will work, and what you see in your Terminal may not match the description, but you can still practice many operations using these files.

cat, more or less

First things first. Text you want to manipulated often resides in files, and one of the first things you want to do is look at it.

...

  • Just press the spacebar to see the next page.
  • If there is additional output, you'll see the  --More-- indicator again; if not, the command prompt appears again.
  • You can also use up arrow and down arrow keys to advance or go back one line at a time. And if you want to To end the more display, just type Ctrl-c.

...