[quote author=cloverm link=board=9;threadid=4523;start=0#45835 date=1029438915]
Did you make your scripts executable, like "chmod 755 myscript.sh"?
[/quote]
Yes I did, did a chmod 0700 filename in habit of doing that.
if i run the script juts by typing in the filename it puts me back to the prompt.
if i try it by doing this....
ksh filename
i get this return..
ksh: test: 0403-006 Execute permission denied.
so not sure what is going on. This is sample script taking from webpage.
Code:
#!/bin/ksh
if [[ $expr $(date +%H) \< 12) == 1 ]]
then
echo "Good Morning"
else
echo "Good afternoon"
fi
Thi s is not one i wrote myself, taken from above google search script page. second link. im presuming its correct otherwise they wouldn't show the example. but etither way it doesn't work on the unix server.
??? ??? ???
Bookmarks