you have to change the permissions of the file to execute
chmod 777 filename will work
man chmod to learn more
same goes for shell scripts (.sh) files, but they might not have the shbang line at the top (#!/bin/sh) this line specifies the interpretor.
So if you have given yourself execute permissions with chmod and it still doesn't work then try:
sh file.sh
this run sh as the interpretor for file.sh
skel
Last edited by skel; 03-15-2004 at 02:47 PM.
|