Skip to main content
Version: 7.25

tail


file/tail​

Type: Command

Prints the last lines of a file's contents. With as-value, the lines are returned as an array of strings in lines. See the Files guide.

ArgumentTypeDescription
n ( unset )numNumber of lines to output from the end of the file. Range: 1..1000. Default: 10.
numberedswitchShow line numbers in front of each line.
Read-only ArgumentTypeDescription
linesobject { line: string }The output lines returned as an array of strings.