Measures on the command line

Filed under
HowTos

In an earlier article I promised to demonstrate more 'magic words' for the command line. All you do is open a terminal, enter the magic word, hit Enter – and cool things happen! The magic word this time is units.

The GNU Units program isn't installed by default in most Linux distributions, so you'll probably need to install it from your distribution's repository. Also, until you get to know GNU Units, I recommend that you enter units -v (v for verbose) on the command line. This makes the output a little more easy to understand.

The GNU Units program converts quantities from one unit system to another.

rest here