Linux: Can't find expect in my /bin/ or /usr/bin after installing. How do I find it?
<p>I realise this might be a stupid question, but I've been trying to follow the advice on the following post <a href="https://stackoverflow.com/questions/16928004/how-to-enter-ssh-password-using-bash" title="post">https://stackoverflow.com/questions/16928004/how-to-enter-ssh-password-using-bash</a> </p>

<p>However, I've come up to a problem. I installed expect with <code>sudo apt-get install expect</code> but now embarrassingly I can't figure out where the script interpreter is. It doesn't seem to be in the normal paths where people look to (i.e <code>/bin/</code> or <code>/usr/bin/</code> ). </p>

<p>It does seem to have installed, since <code>$ expect</code> seems to work, but I just can't use the interpreter (i.e I try to shebang it like everyone else with <code>#!/bin/sh/expect</code> and it gives an error).</p>