I created a simple bash script to automate some activities in magento administration.
The options that are contained in the script are commands that I execute frequently.

Leave your comment if you have any questions or suggestions for improvement.

Link to script

Bash script magento

  • The script is perfect. I have a quite similar script for myself. I would suggest adding Magento path dynamically. Currently, I take the current working directory as Magento root, so with only one script, I am able to handle my all local Magento versions. Dec 4, 2018 at 5:13

1 Answer 1


I'd suggest https://github.com/netz98/n98-magerun & https://github.com/netz98/n98-magerun2 for mage 1 & 2 respectively. Is there something else that you are trying to achieve here, that these tools don't already provide?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.