How to clean/flush or disable the Magento 2 cache via command line from SSH
Here are examples you can use to clean or flush or disable or enable the Magento 2 cache via command line
1. Move to your Magento 2 root folder
2. then run following commands
php bin/magento cache:clean php bin/magento cache:flush php bin/magento cache:disable php bin/magento cache:enable
To get cache status
php bin/magento cache:status
To enable / disable specific cache e.g config
php bin/magento cache:disable config php bin/magento cache:enable