Skip to Content
gnux

-f, --follow

Output appended data as the file grows; HOW is 'name' or 'descriptor' (the default).

An option of tailx.

Usage

tailx -f [FILE]...
tailx --follow[=HOW] [FILE]...

Details

ShortLongValueDefaultMeaning
-f--followHOW (optional)output appended data as the file grows; HOW is 'name' or 'descriptor' (the default)

Examples

Follow a log, printing only lines appended from now on

tailx -n 0 -f app.log

Follow by name and wait for a file that does not exist yet

tailx --follow=name --retry service.log

Help in the terminal

gnux help tailx --follow

On this page