units

Provide the conversion between two units of measure. More information: <https://www.gnu.org/software/units/>.

Install

All systems
curl cmd.cat/units.sh
Debian Debian
apt-get install units
Ubuntu
apt-get install units
Arch Arch Linux
pacman -S units
image/svg+xml Kali Linux
apt-get install units
CentOS
yum install units
Fedora
dnf install units
Windows (WSL2)
sudo apt-get update sudo apt-get install units
Raspbian
apt-get install units

Provide the conversion between two units of measure. More information: <https://www.gnu.org/software/units/>.

  • Run in interactive mode:
    units
  • List all units containing a specific string in interactive mode:
    search string
  • Show the conversion between two simple units:
    units quarts tablespoons
  • Convert between units with quantities:
    units "15 pounds" kilograms
  • Show the conversion between two compound units:
    units "meters / second" "inches / hour"
  • Show the conversion between units with different dimensions:
    units "acres" "ft^2"
  • Show the conversion of byte multipliers:
    units "15 megabytes" bytes

© tl;dr; authors and contributors