/file/tail

当前显示英文原文,切换到「中文」可查看译文。

tail

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.


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
nnumNumber 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.