How to process Magento indexes from the command line

How to process Magento indexes from the command line