tail -f findings.out

Easy unit conversion in the CLI

Have you ever been at a command line and just had to know how many leagues were in 10 nanometers? Well now you can find out easily! Enter the

1
units

command:

1
units

takes the first argument and converts it into the second. The second line of output is the inverse of the conversion. If you just put the units without a number, it prints the actual conversion factor:

You can perform conversion between a wide range of units, some requiring a slightly different syntax, such as temperature:

If you just call

1
units

, it will query you for what you want to do:

Thanks to cmdlin.org for sharing this awesome command!

Tags: , , ,
December 5, 2008 - 8:25 PM No Comments

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.