How to use Reduce in the command line.