Skip to content

Commit

Permalink
Merge pull request #1469 from swcarpentry/bkmgit-patch-2
Browse files Browse the repository at this point in the history
Clarify actions of head and tail
  • Loading branch information
bkmgit committed Sep 26, 2024
2 parents 977cef1 + 9c15eba commit f54273d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions episodes/04-pipefilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -746,8 +746,8 @@ and *only* the processed data files?
- `wc` counts lines, words, and characters in its inputs.
- `cat` displays the contents of its inputs.
- `sort` sorts its inputs.
- `head` displays the first 10 lines of its input.
- `tail` displays the last 10 lines of its input.
- `head` displays the first 10 lines of its input by default without additional arguments.
- `tail` displays the last 10 lines of its input by default without additional arguments.
- `command > [file]` redirects a command's output to a file (overwriting any existing content).
- `command >> [file]` appends a command's output to a file.
- `[first] | [second]` is a pipeline: the output of the first command is used as the input to the second.
Expand Down

0 comments on commit f54273d

Please sign in to comment.