myDSL Extensions (deprecated) :: Embedding Commands
It's pretty easy. In your text editor, start the file with:
#!/bin/bash
then add whatever you want on the next lines:
#!/bin/bash
mkdir <...> or whatever
save it and make it executable with chmod and you should be good to go. Have fun!
original here.