# Linux execut command line in prompt mssql-cli

**URL:** <https://forum.ansible.com/t/linux-execut-command-line-in-prompt-mssql-cli/30512>\
**Category:** Ansible Project\
**Created:** [June 7, 2019, 9:46am UTC](https://forum.ansible.com/t/linux-execut-command-line-in-prompt-mssql-cli/30512 "2019-06-07T09:46:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryad9200000](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Post date:** [June 7, 2019, 9:46am UTC](https://forum.ansible.com/t/linux-execut-command-line-in-prompt-mssql-cli/30512/1 "2019-06-07T09:46:48Z")

</div>

Hi Community ansible !! 😉

I hope are you fine !! 🙂

My problem actually is that i have mssql-cli on my debian.

I have create script.sh with this content :

mssql-cli -S my\_server -U my\_user -d my\_database && \e scriptsql.sql

I want that when i run my script.sh, the second command “\e scriptsql.sql” is runnning in “prompt mssql-cli” and not when i exit prompt are you understand please ?

For after execut this script in Ansible.

So my question is, how execut command line in prompt mssql-cli and not in prompt debian through one script.sh ??

Thanks for your help community Ansible !! 🙂

Regards,

Show result problem :
