Linux execut command line in prompt mssql-cli

5 views
Skip to first unread message

Ryad karkar

unread,
Jun 7, 2019, 5:46:49 AM6/7/19
to Ansible Project
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 :


Reply all
Reply to author
Forward
0 new messages