Flush cache uses SSH in Magento 1 and 2

Posted: 1 year ago

Log in to the server and run the command below from the Magento root directory:

php -r 'require "app/Mage.php"; Mage::app()->getCacheInstance()->flush();'

you can read more in :

http://blog.andhiirawan.my.id/2017/08/01/flush-cache-using-ssh/