Magento2 Commands
These are Some Magento2 Commands <?php //Magento Commands// ( 1 ) sudo chmod -R 777 var ( 2 ) sudo chmod -R 777 pub ( 3 ) rm -Rf var /generation ( 4 ) sudo chmod -R 777 / var /www/html/magento2 ( for permission to folder) //////////////////Setup Upgrade Using Command Line php bin/magento setup:upgrade /////////////////////If you don’t want to remove pub/static files while installing/updating database then use following command. php bin/magento setup:upgrade --keep-generated //////////////////Cache Clean Using Command Line php bin/magento cache:clean //////////////////Cache Flush Using Command Line php bin/magento cache: flush //////////////////View cache status Using Command Line php bin/magento cache:status ///////////////////////Enable Cache Using Command Line php bin/magento cache:enable [cache_type] //////////////////////Disable Cache Using Command Line php bin/magento cache:disable [cache_type] ////////////////////////Static...