{"id":17077,"date":"2020-05-24T20:02:57","date_gmt":"2020-05-25T00:02:57","guid":{"rendered":"https:\/\/bangla.salearningschool.com\/recent-posts\/magento-2-useful-and-important-cli-commands-list\/"},"modified":"2020-05-24T20:02:57","modified_gmt":"2020-05-25T00:02:57","slug":"magento-2-useful-and-important-cli-commands-list","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=17077","title":{"rendered":"Magento 2 Useful and Important CLI Commands List"},"content":{"rendered":"<p>&quot;Cache CLI (Status, Enable, Disable, Clean, Flush)<\/p>\n<pre><code>php bin\/magento cache:clean Cleans cache type(s) php bin\/magento cache:disable Disables cache type(s) php bin\/magento cache:enable Enables cache type(s) php bin\/magento cache:flush Flushes cache storage used by cache type(s) php bin\/magento cache:status&quot; Checks cache status<\/code><\/pre>\n<p>&quot;<\/p>\n<p>Also Check:<br \/>\n<a href=\"http:\/\/bangla.salearningschool.com\/recent-posts?s=bin%2Fmagento\">http:\/\/bangla.salearningschool.com\/recent-posts?s=bin%2Fmagento<\/a><\/p>\n<p>Also Check:<br \/>\n<a href=\"http:\/\/bangla.salearningschool.com\/recent-posts?s=magento\">http:\/\/bangla.salearningschool.com\/recent-posts?s=magento<\/a><\/p>\n<p>Also, Check:<br \/>\nYoutube.com\/channel\/UCHrtq0pV8mEuTLGd2-Lp9ig\/playlists<\/p>\n<p>Check the details at:<br \/>\nMagento 2 Useful and Important CLI Commands List<\/p>\n<p>Ref: <a href=\"https:\/\/hiteshvaghasiya.com\/magento-2-daily-useful-cli-commands-list\">https:\/\/hiteshvaghasiya.com\/magento-2-daily-useful-cli-commands-list<\/a><\/p>\n<p>*** . *** *** . *** . *** . ***<\/p>\n<p><em><strong><em><strong>Training Courses: <\/strong><a href=\"http:\/\/training.sitestree.com\/\">http:\/\/Training.SitesTree.com<\/a> <\/em><br \/>\nBlog<\/strong>: <a href=\"http:\/\/bangla.salearningschool.com\/\">http:\/\/Bangla.SaLearningSchool.com<\/a>, <a href=\"http:\/\/sitestree.com\">http:\/\/SitesTree.com<\/a><\/em><br \/>\n<em><strong>8112223 Canada Inc\/Justetc<\/strong>: <a href=\"http:\/\/JustEtc.net\">http:\/\/JustEtc.net<\/a><\/em><br \/>\n<em>Youtube: <\/em><a href=\"https:\/\/www.youtube.com\/channel\/UCHrtq0pV8mEuTLGd2-Lp9ig\/playlists\">https:\/\/www.youtube.com\/channel\/UCHrtq0pV8mEuTLGd2-Lp9ig\/playlists<\/a><br \/>\n<em><strong>Medium: <\/strong><\/em><a href=\"https:\/\/medium.com\/@SayedAhmedCanada\">https:\/\/medium.com\/@SayedAhmedCanada<\/a><\/p>\n<p><em><\/em><br \/>\n<em><strong>Sayed Ahmed<\/strong><br \/>\n<\/em><br \/>\n<em><strong>BSc. Eng. in Comp. Sc. &amp; Eng. (BUET)<\/strong><\/em><br \/>\n<em><strong>MSc. in Comp. Sc. (U of Manitoba, Canada)<\/strong><\/em><br \/>\n<em><strong>MSc. in Data Science and Analytics (Ryerson University, Canada)<\/strong><\/em><br \/>\n<em><strong>Linkedin<\/strong>: <a href=\"https:\/\/ca.linkedin.com\/in\/sayedjustetc\">https:\/\/ca.linkedin.com\/in\/sayedjustetc<\/a><br \/>\n<\/em><\/p>\n<p><em><\/em><\/p>\n<p><em><strong>Facebook Groups\/Forums to discuss (Q &amp; A): <\/strong><\/em><br \/>\n<a href=\"https:\/\/www.facebook.com\/salearningschool\/?ref=your_pages\">https:\/\/www.facebook.com\/salearningschool<\/a><\/p>\n<p><a href=\"https:\/\/www.facebook.com\/banglasalearningschool\">https:\/\/www.facebook.com\/banglasalearningschool<\/a><br \/>\n<a href=\"https:\/\/www.facebook.com\/justetcsocial\">https:\/\/www.facebook.com\/justetcsocial<\/a><\/p>\n<p><em>Get access to courses on Big Data, Data Science, AI, Cloud, Linux, System Admin, Web Development and Misc. related. Also, create your own course to sell to others. <\/em><a href=\"http:\/\/sitestree.com\/training\/\">http:\/\/sitestree.com\/training\/<\/a><\/p>\n<p><strong>Join, Discuss, and Thrive:<\/strong><br \/>\nFinance: <a href=\"https:\/\/www.facebook.com\/groups\/1792339521056034\">https:\/\/www.facebook.com\/groups\/1792339521056034<\/a><\/p>\n<p>Bangladesh and Canada: <a href=\"https:\/\/www.facebook.com\/groups\/398414183875009\">https:\/\/www.facebook.com\/groups\/398414183875009<\/a><\/p>\n<p>Bangladesh: IT &amp; Eng: Canada: <a href=\"https:\/\/www.facebook.com\/groups\/480297675634630\">https:\/\/www.facebook.com\/groups\/480297675634630<\/a><\/p>\n<p>BUETians in Ontario: <a href=\"https:\/\/www.facebook.com\/groups\/371982239854027\">https:\/\/www.facebook.com\/groups\/371982239854027<\/a><\/p>\n<p>Worldwide IT: <a href=\"https:\/\/www.facebook.com\/groups\/28362061867\">https:\/\/www.facebook.com\/groups\/28362061867<\/a><\/p>\n<p>JustEtc: <a href=\"https:\/\/www.facebook.com\/JustETC-Technologies-Inc-289864738261\">https:\/\/www.facebook.com\/JustETC-Technologies-Inc-289864738261<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&quot;Cache CLI (Status, Enable, Disable, Clean, Flush) php bin\/magento cache:clean Cleans cache type(s) php bin\/magento cache:disable Disables cache type(s) php bin\/magento cache:enable Enables cache type(s) php bin\/magento cache:flush Flushes cache storage used by cache type(s) php bin\/magento cache:status&quot; Checks cache status &quot; Also Check: http:\/\/bangla.salearningschool.com\/recent-posts?s=bin%2Fmagento Also Check: http:\/\/bangla.salearningschool.com\/recent-posts?s=magento Also, Check: Youtube.com\/channel\/UCHrtq0pV8mEuTLGd2-Lp9ig\/playlists Check the details at: &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=17077\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[182],"tags":[],"class_list":["post-17077","post","type-post","status-publish","format-standard","hentry","category---blog","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":26262,"url":"http:\/\/bangla.sitestree.com\/?p=26262","url_meta":{"origin":17077,"position":0},"title":"Magento 2 Useful and Important CLI Commands List #Root","author":"Author-Check- Article-or-Video","date":"April 21, 2021","format":false,"excerpt":"\"Cache CLI (Status, Enable, Disable, Clean, Flush) php bin\/magento cache:clean Cleans cache type(s) php bin\/magento cache:disable Disables cache type(s) php bin\/magento cache:enable Enables cache type(s) php bin\/magento cache:flush Flushes cache storage used by cache type(s) php bin\/magento cache:status\" Checks cache status \" Also Check: http:\/\/bangla.salearningschool.com\/recent-posts?s=bin%2Fmagento Also Check: http:\/\/bangla.salearningschool.com\/recent-posts?s=magento Also, Check:\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":15984,"url":"http:\/\/bangla.sitestree.com\/?p=15984","url_meta":{"origin":17077,"position":1},"title":"Upgrade magento from 2.3.1 to 2.3.2","author":"Sayed","date":"August 19, 2019","format":false,"excerpt":"Upgrade Magento from 2.3.1 to 2.3.2 From 2.3.0 to 2.3.2 should also work; from some other earlier versions may or may not work.. A very similar approach worked for me (Note: I have no interest to work in the industry with Magento). Also, after upgrade, check the error log and\/or\u2026","rel":"","context":"In &quot;Magento 2&quot;","block_context":{"text":"Magento 2","link":"http:\/\/bangla.sitestree.com\/?cat=1907"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":76369,"url":"http:\/\/bangla.sitestree.com\/?p=76369","url_meta":{"origin":17077,"position":2},"title":"Solution that worked for the issue: Your current session has been expired. for Magento2","author":"sayedjustetc","date":"November 17, 2024","format":false,"excerpt":"Solution that worked for the issue: Your current session has been expired. for Magento2 cat shell-scripts\/temp.sh# fix misc issues, can be routine sudo php bin\/magento maintenance:enable#sudo rm -rf var\/cache\/#sudo rm -rf generated\/sudo chmod +x bin\/magentosudo php bin\/magento setup:upgrade#sudo php bin\/magento setup:static-content:deploy -fsudo php bin\/magento setup:di:compilesudo php bin\/magento indexer:reindexsudo php bin\/magento\u2026","rel":"","context":"In &quot;Root&quot;","block_context":{"text":"Root","link":"http:\/\/bangla.sitestree.com\/?cat=1"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":15812,"url":"http:\/\/bangla.sitestree.com\/?p=15812","url_meta":{"origin":17077,"position":3},"title":"Magento Misc","author":"Sayed","date":"August 13, 2019","format":false,"excerpt":"How do I change to developer mode on aws lightsail magento? For AWS lightsail: cd \/apps\/magento\/htdocs php bin\/magento deploy:mode:set developer--- Enable backups The Magento backup feature is disabled by default. To enable, enter the following CLI command: bin\/magento config:set system\/backup\/functionality_enabled 1","rel":"","context":"In &quot;\u09ac\u09cd\u09b2\u0997 \u0964 Blog&quot;","block_context":{"text":"\u09ac\u09cd\u09b2\u0997 \u0964 Blog","link":"http:\/\/bangla.sitestree.com\/?cat=182"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16469,"url":"http:\/\/bangla.sitestree.com\/?p=16469","url_meta":{"origin":17077,"position":4},"title":"Administering Magento 2 on AWS Platform","author":"Sayed","date":"December 6, 2019","format":false,"excerpt":"Varnish: Configuring Varnish Server i.e. a Cache Server https:\/\/varnish-cache.org\/docs\/5.1\/reference\/varnishd.html#http-resp-hdr-len \/opt\/bitnami\/varnish\/varnishd varnishd [-a address[:port][,PROTO]] [-b host[:port]] [-C] [-d] [-F] [-f config] [-h type[,options]] [-I clifile] [-i identity] [-j jail[,jailoptions]] [-l vsl[,vsm]] [-M address:port] [-n name] [-P file] [-p param=value] [-r param[,param...]] [-S secret-file] [-s [name=]kind[,options]] [-T address[:port]] [-t TTL] [-V] [-W\u2026","rel":"","context":"In &quot;AI ML DS RL DL NN NLP Data Mining Optimization&quot;","block_context":{"text":"AI ML DS RL DL NN NLP Data Mining Optimization","link":"http:\/\/bangla.sitestree.com\/?cat=1910"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26158,"url":"http:\/\/bangla.sitestree.com\/?p=26158","url_meta":{"origin":17077,"position":5},"title":"Magento Misc #Root","author":"Author-Check- Article-or-Video","date":"April 18, 2021","format":false,"excerpt":"How do I change to developer mode on aws lightsail magento? For AWS lightsail: cd \/apps\/magento\/htdocs php bin\/magento deploy:mode:set developer--- Enable backups The Magento backup feature is disabled by default. To enable, enter the following CLI command: bin\/magento config:set system\/backup\/functionality_enabled 1 From: http:\/\/sitestree.com\/magento-misc\/ Categories:RootTags: Post Data:2019-08-13 15:21:08 Shop Online: https:\/\/www.ShopForSoul.com\/\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/17077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17077"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/17077\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17077"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}