nushell/docs/commands/last.md

23 lines
271 B
Markdown

---
title: last
layout: command
version: 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
```shell
> [1,2,3] | last 2
```