wc Flashcards

1
Q

wc

A

Print newline, word, and byte counts for each FILE, and a total line if more than one FILE is specified.

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

wc

  • c
  • m
  • l

–files0-from=F

  • L
  • w
A
  • c, –bytes, Print the byte counts.
  • m, –chars, Print the character counts.
  • l, –lines, Print the newline counts.

–files0-from=F, Read input from the files specified by NUM-terminated names in file F; If F is - then read names from stdin.

  • L, –max-line-length, Print the maximum display width.
  • w, –words, Print the word counts.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly