Versions Compared

Key

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

...

  • ctrl-C will interrupt the current running program, and get you back to the shell
  • ctrl-D sends EOF

-IO Redirection

  • <cmd> < <filename> operator redirects stdin from the command line to file
  • <cmd> > <filename> operator redirects stdout from the command line to file
  • <cmd1> | <cmd2> 'pipe' operator redirects output of cmd1 as input to cmd2
  • the operators can be combined