tail Flashcards

1
Q

tail

A

Print the last 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

tail

  • c
  • f
  • F
  • n
  • q
  • s
A
  • c, –bytes=[+]NUM, Output the last NUM bytes; or use -c +NUM to output starting with byte NUM of each file.
  • f, –follow[={name|descriptor}], Output appended data as the file grows; an absent option means ‘descriptor’
  • F, Same as –follow=name –retry
  • n, –lines=[+-]NUM, Output the last NUM lines, instead of last 10; use -n +NUM to output starting with line NUM.
  • q, –quiet, –silent, Never output headers giving file names.
  • s, –sleep-interval=N, With -f, sleep for approximately N seconds between iterations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly