problem running small cshell script?
Hi I am trying to put the following commands that i have to type manually at the cshell prompt into a cshell script startup.csh which is copied below
module load incisiv/102/10.20.035
setenv DISPLAY $DISPLAY
When i run the script with source command as follows
$ source startup.csh
I get the following messages on the cshell
ba08ut01:12:0 #this is the output of first command
access control disabled,clients can connect from any host #output of 2nd command
Last Login Sat, Feb 11, 04:01:22 from ba08ut01 #output of last command
I am wondering why lines 3 and 4 are not getting executed in the startup.csh script. If i type these commands on the command prompt, i see them executing and the messages they print out to the screen.
Is there some thing wrong with the syntax?
Please correct me.
Do i have to modify it a lot in case i want to convert it to bash script.
Thanks a lot for your attention