Description

Convert tables of columns into something a bit more machine-readable, or a bit less wide.

$ df
Filesystem     1K-blocks      Used Available Use% Mounted on
udev             8114516         0   8114516   0% /dev
tmpfs            1629484      3068   1626416   1% /run

$ df | tabular
Filesystem=udev
1K-blocks=8114516
Used=0
Available=8114516
Use%=0%
Mounted on=/dev

Filesystem=tmpfs
1K-blocks=1629484
Used=3068
Available=1626416
Use%=1%
Mounted on=/run

$ df | tabular --format json

[
  {
    "Filesystem": "udev",
    "1K-blocks": "8114516",
    "Used": "0",
    "Available": "8114516",
    "Use%": "0%",
    "Mounted on": "/dev"
  },
  {
    "Filesystem": "tmpfs",
    "1K-blocks": "1629484",
    "Used": "3068",
    "Available": "1626416",
    "Use%": "1%",
    "Mounted on": "/run"
  }
]

Screenshots

Asciinema recording of tabular

Get it from the Snap Store

Search for another snap, or go back to the homepage.
An error has occurred. This application may no longer respond until reloaded. Reload 🗙