1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:22:08 +02:00
tldr/pages/common/units.md
Vítor Henrique 5edbf734fb
pages*: improve page descriptions (#12558)
* pages*: improve page descriptions

* ical: improve page description

* cockpit-desktop: remove unneeded word from page description

* nc: improve description wording

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-04-25 19:58:21 -03:00

680 B

units

Convert 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}}