Magento 2 terminal commands
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento indexer:reindex
php bin/magento setup:upgrade && php bin/magento setup:static-content:deploy –f && php bin/magento cache:flush
php bin/magento s:up && bin/magento s:static-c:d -f && bin/magento s:static-c:d de_DE -f && php bin/magento cache:flush
\!h clean
rm -rf var/cache/* var/page_cache/* var/session/*
\!h modules
php bin/magento module:disable Prospa_Prospapay --clear-static-content
php bin/magento module:enable Prospa_Prospapay
\!h mode
php bin/magento deploy:mode:set default
\!h path hints
php bin/magento dev:template-hints:enable
\!h Create admin account admin user
https://www.mageplaza.com/kb/how-to-create-new-admin-user-magento-2.html
bin/magento admin:user:create
Admin user: mageplaza
Admin password: YourPassword
Admin email: mageplaza@mageplaza.com
Admin first name: Mageplaza
Admin last name: Team
---------------------------------------------
1) Login into your Magento 2 Server with SSH
ssh your-username@$your-server-ip
2) Navigate to the Magento 2 directory e.g.
/home/cloudpanel/htdocs/magento2.mgtcommerce.com/
3) Execute the following command in order to create a new administrator with username "new-admin" and password "!admin123!"
php bin/magento admin:user:create --admin-user='admin' --admin-password='xoLe1Ucy' --admin-email='dmnlocalhost054@gmail.com' --admin-firstname='Jon' --admin-lastname='Doe'