did you add the bang line in the first line of the script? if it's an sh script the first line has to read
#!/bin/sh
if it's perl or anything like that, you need to find where it is installed on the system, usually in /usr/bin so the bang line would look like
#!/usr/local/bin/perl
then to run it you'd just type ./scriptname




Reply With Quote