RouterOS handleiding

Head



file/head

Type: Command

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

<ArgTableRow arg="n" typ="num" unset="1">Number of lines to output from the beginning of the file. Range: 1..1000. Default: 10.</ArgTableRow> <ArgTableRow arg="numbered" typ="switch">Show line numbers in front of each line.</ArgTableRow>

<ArgTableRow arg="lines" typ="object { line: string }">The output lines returned as an array of strings.</ArgTableRow>

Bron

Zoek je hoe de configurator zelf werkt? Handleiding bij de configurator

Bijgewerkt op 2026-10-01.