How to create a custom command for the terminal?
You can do it with various methods, here's the easiest one in my opinion:

Paste this line in your ~/.bash_profile

function initProject { touch index.html &amp;&amp; mkdir stylesheets &amp;&amp; mkdir javascripts &amp;&amp; mkdir images &amp;&amp; mkdir sass &amp;&amp; open index.html -a sublime\ text; };


Save it and execute source ~/.bash_profile

Right now you can type initProject to get what you want.