I just recently installed Ubuntu for our server, and I had a question about using tcsh.
I'm trying to run a script of commands and the first line of my script is:
I chmod +x my script, but when I type the name of my script at the command line i get this message:#! /bin/tcsh -f
the only way my script will work is if I type:myscript: Command not found.
Only then, will myscript execute its set of commands.tcsh myscript
I would like to be able to type the name of scripts without having to type tcsh at the beginning, each time. Is there a way to do that?
Your help would greatly be appreciated.