Works Charmingly.......

Thank u.......
But lets say my script expects a username and password to type in then how to automate their typing?
For example I need to make a VPN connection and I write a script as following to automate this
cd
cd Desktop/oncology_project/vpnclient/
sudo ./vpnclient_init start
<Here the SUDO expects the root password to be typed>
sudo ./vpnclient connect USONCOLOGY-VPN
<Here the username and password for the vpn connection has to be typed>
How to Automate this Whole process? I have heard of the "expect" command but how to use it in this situation...???? Pls help