nushell/docs/commands/last.md

271 B

title layout version
last command 0.59.1

Show only the last number of rows.

Signature

> last (rows)

Parameters

  • rows: starting from the back, the number of rows to return

Examples

Get the last 2 items

> [1,2,3] | last 2