Magento useful command line instructions

Reindex

Clean logs

Download extension manually using mage

Delete cache/logs/sessions/reports/locks

Note: All instructions are avaiable from your application root folder.