W3cubDocs

/Nushell

explore for viewers

Explore acts as a table pager, just like `less` does for text.

Signature

> explore {flags}

Flags

  • --head, - {bool}: Show or hide column headers (default true)
  • --index, -i: Show row indexes when viewing a list
  • --reverse, -r: Start with the viewport scrolled to the bottom
  • --peek, -p: When quitting, output the value of the cell the cursor was on

Input/output types:

input output
any any

Examples

Explore the system information record

>sys|explore

Explore the output of ls without column names

>ls|explore--headfalse

Explore a list of Markdown files' contents, with row indexes

>glob*.md|each {|| open } |explore-i

Explore a JSON file, then save the last visited sub-structure to a file

>openfile.json|explore-p|to json|savepart.json

Notes

Press : then h to get a help menu.

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/explore.html