Jesse Angell wrote: > I found a script and just eddited it and saved it.. but I can't launch > it like I could the script before, The script simply backs up a file.. I > get a Bad Interrepture error trying to launch it AND i notice that the > orignal script was green on ls and this is just grey on ls.. here is the > script why isnt it working > > > > #!/bin/sh > > > > instance=${1:-palace} > root=${2:-/home/redbaron/palaceserver} > cp $root/$instance/psdata/pserver.pat > $root/$instance/psdata/backup/pserver`date +%Y%m%d`.pat >
You need to make it executable as root chmod a+x (scriptname) Civileme
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com