Softaculous. How to disable unwanted CMS using command line

Find out CMS IDs:

less /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/iscripts.php |egrep 'CumulusClips|VidiScript|ClipBucket|ownCloud' |grep array

Then disable them as following:

php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --disable_script --sid=131,170,368,437
Read the rest

Magento 2 useful commands

Enter Magento 2 folder

cd /home/username/public_html/

Reindex

php bin/magento indexer:reindex

Flush Cache

php bin/magento cache:flush

Magento version

php bin/magento --version

Disable a module

php bin/magento module:disable Magento_SOMEMODULE

Uninstall Magento

php bin/magento setup:uninstall

To get modules list:

php bin/magento module:status

 

 

Source: https://www.measureddesigns.com/magento-2-useful-commands/… Read the rest