head Flashcards

1
Q

cut

A

Print the first 10 lines of each FILE to standard output.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

head

  • c
  • n
  • q
  • v
  • z
A
  • c, –bytes=[-]NUM, Print the first NUM bytes of each file; with the leadting ‘-‘, print all but the last NUM bytes of each file.
  • n, –lines=[-]NUM, Print the first NUM lines instead of the first 10; with the leading ‘-‘, print all but the last NUM lines of each file.
  • q, –quiet, –silent, Never print headers giving file names.
  • v, –verbose, Always print headers giving file names.
  • z, –zero-terminated, Line delimiter is NUL, not newline.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly