# execute commands in tcsh mode

**URL:** <https://forum.ansible.com/t/execute-commands-in-tcsh-mode/27843>\
**Category:** Ansible Project\
**Created:** [June 21, 2018, 10:43am UTC](https://forum.ansible.com/t/execute-commands-in-tcsh-mode/27843 "2018-06-21T10:43:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![contactmejohnthomas](https://avatars.discourse-cdn.com/v4/letter/c/dfb087/32.png) [@contactmejohnthomas](https://forum.ansible.com/u/contactmejohnthomas)\
**Post date:** [June 21, 2018, 10:43am UTC](https://forum.ansible.com/t/execute-commands-in-tcsh-mode/27843/1 "2018-06-21T10:43:02Z")

</div>

hello ,

I am trying to execute few commands in the server using ansible .  
The trick is currently we use "sudo tcsh " followed by password to switch tcsh prompt to execute the command

Let me know how can i execute the same in ansible ?

but it doesnt work as expected
