Difference between revisions of "Hdi2u S20"

From wiki
Jump to: navigation, search
(Created page with "= Piping output between applications = * <code>|</code>, often called an operator because it's so powerful * not always easy to find on the keyboard == Exercise == * "Pipe" t...")
 
(No difference)

Latest revision as of 22:36, 19 April 2017

Piping output between applications

  • |, often called an operator because it's so powerful
  • not always easy to find on the keyboard

Exercise

  • "Pipe" the output of "ls" into wc -l to see how many files you have in your output.
ls | wc -l