Output the last part of files
tail -c {bytes} -f {follow} -F {flag-f} -n {lines} -q {quiet} ๐ bytes ๐ follow ๐ flag-f ๐ lines ๐ quiet tail -c {bytes} -f {follow} -F {flag-f} -n {lines} -q {quiet} Sandbox: execFile · Timeout: 30s
system.file.tail system.file.search system.file.process system.file.copy system.file.move system.file.delete | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
bytes | string | No | - | output the last NUM bytes; or use -c +NUM to output starting with byte NUM of each file --debug indicate which --follow implementation is used | -c, --bytes |
follow | string | No | - | output appended data as the file grows; an absent option argument means 'descriptor' | -f, --follow |
flag-F | string | No | - | same as --follow=name --retry | -F |
lines | string | No | - | output the last NUM lines, instead of the last 10; or use -n +NUM to skip NUM-1 lines at the start --max-unchanged-stats=N with --follow=name, reopen a FILE which has not changed size after N (defa... | -n, --lines |
quiet | string | No | - | never output headers giving file names --retry keep trying to open a file if it is inaccessible | -q, --quiet, --silent |
sleep-interval | integer | No | - | 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 | -s, --sleep-interval |
verbose | string | No | - | always output headers giving file names | -v, --verbose |
zero-terminated | string | No | - | line delimiter is NUL, not newline --help display this help and exit --version output version information and exit | -z, --zero-terminated |
help | boolean | No | - | --help | |
max_unchanged_stats | boolean | No | - | --max-unchanged-stats | |
pid | boolean | No | - | --pid | |
retry | boolean | No | - | --retry | |
version | boolean | No | - | --version |
Basic usage with bytes
tail ${bytes} Display help message
tail --help tail is a command-line utility for output the last part of files.
tail -c {bytes} -f {follow} -F {flag-f} -n {lines} -q {quiet}