Title: Theory / Unimportant / CS / command line / text streaming / tail;
Tags: computer_to_instruction fromCommand fromCommandLine hasNotNewEffectReturnsMeaning some_instruction

Fla: --bytes=K
Effect: print the last K bytes of each files
Page: man
Prefix: tail
Flag abbreviation: -c=K

Fla: --bytes=+K
Effect: print all but the first K bytes of each file
Page: man
Prefix: tail
Flag abbreviation: -c=+K

Fla: --lines=+K
Effect: print all but the first K lines of each file
Page: man
Prefix: tail
Flag abbreviation: -n=+K

Fla: --lines=K
Effect: print the last K lines of each file
Page: man
Prefix: tail
Flag abbreviation: -n=K

Fla: --quiet --silent
Effect: never print headers giving file names
Page: man
Prefix: tail
Flag abbreviation: -q

Fla: --verbose
Effect: always print headers giving file names
Page: man
Prefix: tail
Flag abbreviation: -v

Fla: --follow[={name|descriptor}]
Effect: output appended data as the file indicated in argument
Page: man
Prefix: tail fileList
Flag abbreviation: -f

Fla: -F foo
Effect: Abbreviation for --follow=foo --retry. I.e. output appended data from foo, and don't stop when the file disappear
Page: man
Prefix: tail fileList

Fla: --max-unchanged-stats=N
Effect: reopen a FILE which has not changed size after N (default 5) iterations to see if it has been unlinked or renamed (this is the usual case of rotated log files).
Page: man
Prefix: tail --follow=name
Intuition: With inotify, this option is rarely useful.

Fla: --sleep-interval=N
Effect: with -f, sleep for approximately N seconds (default 1.0) between iterations.
With inotify and --pid=P, check process P at
least once every N seconds.
Page: man
Prefix: tail fileList
Flag abbreviation: -s

Fla: --help
Effect: display this help and exit
Page: man
Prefix: tail

Fla: --version
Effect: output version information and exit
Page: man
Prefix: tail

Instruction: tail fileList
Page: man
Effect: output the last part of each file of fileList. By default name and then ten last lines

Fla: --retry
Effect: keep trying to open a file even when it is or becomes inaccessible; useful when following by name, i.e., with --follow=name
Page: man
Prefix: tail fileList

Fla: --pid=PID
Effect: terminate after process ID, PID dies
Page: man
Prefix: tail -f fileList