Name | Type | Required | Default | Hint |
path | string | true | file or directory to tail or raw input to process | |
lines | numeric | false | 15 | number of lines to display. |
follow | boolean | false | false | Keep outputting new lines to the file until Ctrl-C is pressed |
Tail the end of a file from the filesystem. Path may be absolute or relative to the current working directory.
tail file.txtDisplays the contents of a file to standard CommandBox output according to the number of lines argument.
tail file.txt 100