How To Run Mml Command From Unix Script

Dear All
I want to run some MML command on my node from my unix server. I am able to get mml prompt but after that my script is stop at mml prompt. No commnad is executed on mml prompt.

Kindly help me out.

Regards
Jaydeep