Nushell
Get Nu!
Getting Started
  • The Nushell Book
  • Command Reference
  • Cookbook
  • Language Reference Guide
  • Contributing Guide
Blog
  • English
  • 中文
  • Deutsch
  • Français
  • Español
  • 日本語
  • Português do Brasil
  • Русский язык
GitHub
Get Nu!
Getting Started
  • The Nushell Book
  • Command Reference
  • Cookbook
  • Language Reference Guide
  • Contributing Guide
Blog
  • English
  • 中文
  • Deutsch
  • Français
  • Español
  • 日本語
  • Português do Brasil
  • Русский язык
GitHub
  • Categories

    • Bits
    • Bytes
    • Chart
    • Conversions
    • Core
    • Database
    • Dataframe
    • Dataframe Or Lazyframe
    • Date
    • Debug
    • Default
    • Env
    • Experimental
    • Expression
    • Filesystem
    • Filters
    • Formats
    • Generators
    • Hash
    • History
    • Lazyframe
    • Math
    • Misc
    • Network
    • Path
    • Platform
    • Plugin
    • Prompt
    • Random
    • Removed
    • Shells
    • Strings
    • System
    • Viewers

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
  • --tail, -t: 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:

inputoutput
anyany

Examples

Explore the system host information record

> sys host | explore

Explore the output of ls without column names

> ls | explore --head false

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

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

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

> open file.json | explore --peek | to json | save part.json

Notes

Press : then h to get a help menu.