LinuxCommandLibrary

tv

Terminal viewer for tabular data

TLDR

View CSV

$ tv [data.csv]
copy
View TSV
$ tv -t [data.tsv]
copy
View JSON
$ tv [data.json]
copy
Custom delimiter
$ tv -d ";" [data.txt]
copy
No header
$ tv --no-header [data.csv]
copy

SYNOPSIS

tv [-t] [-d delim] [--no-header] [options] file

DESCRIPTION

tv is a terminal viewer for tabular data that displays CSV, TSV, and JSON files as formatted, column-aligned tables. It automatically detects the input format and renders the data with proper alignment for easy reading in the terminal.
Custom delimiters can be specified for non-standard formats, and the --no-header flag handles files without a header row. The tool supports limiting output to a specified number of rows for previewing large datasets.
Output is optimized for terminal display, adjusting column widths based on content and available terminal space.

PARAMETERS

-t

Tab-separated.
-d DELIM
Custom delimiter.
--no-header
No header row.
-n NUM
Show first N rows.
--help
Show help.

CAVEATS

Various tools named tv. Check which installed. Rust implementation.

HISTORY

tv is a terminal viewer for tabular data formats like CSV, TSV, and JSON.

SEE ALSO

column(1), csvlook(1), miller(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community