Commands Line

How to change ownership and permissions in magento 2

Sometimes if you use sudo to run command line deploy static content or compile code, it will create the file with user root and it cannot work with user php ( [...]

How to enable specified modules in magento 2 by using command line

You can enable specified modules in magento 2 by using command line: php bin/magento module:enable Magento_Sitemap You also can enable all modules by using [...]

How to disable specified modules in magento 2 by using command line

You can disable specified modules in magento 2 by using command line: php bin/magento module:disable Magento_Sitemap Sees more details this command line by [...]

How to check maintenance mode status in magento 2 by using command line

You can check maintenance mode status in magento 2 by using command line: php bin/magento maintenance:status Sees more details this command line by using [...]

How to enable maintenance mode in magento by using command line

You can enable maintenance mode in magento by using command line: php bin/magento maintenance:enable Sees more details this command line by using the [...]

How to disable maintenance mode in magento 2 by using command line

You can disable maintenance mode in magento 2 by using command line: php bin/magento maintenance:disable Sees more details this command line by using the [...]

How to set maintenance mode exempt IPs in magento 2 by using command line

You can set maintenance mode exempt IPs in magento 2 by using command line: php bin/magento maintenance:allow-ips 42.115.186.82 Sees more details this [...]

How to check the list of available timezones in magento 2 by using command line

You can check the list of available timezones in magento 2 by using command line: php bin/magento info:timezone:list Sees more details the command line [...]

How to check the list of available language locales in magento 2 by using command line

You can check the list of available language locales in magento 2 by using command line: php bin/magento info:language:list Sees more details the command [...]

How to check number of circular dependencies between modules in magento 2 by using command line

You can check  number of circular dependencies between modules in magento 2 by using command line: php bin/magento [...]