Martin Rheumer writes:

>I am running a number of shell scripts and find I have to specify sh
>and then the script name. The first line of the script is always
>#!/bin/sh which I am assuming takes care of this. Could someone
>provide some hints what I have done wrong or some pointers.

Have you made the script executable?

    chmod +x scriptname

is perhaps what you want.  You may also have trouble if the script
isn't in your PATH; try

    ./scriptname

assuming the script is in the current working directory.

- Richard

-- 
http://www.elmail.co.uk/staff/richard/
GCS d- s+:- a-- C++ ULVS+++$ P+++ L++ E++ W(++,--) N(++,+) o? K w---
O? M- V? PS(+,+++) PE Y+ PGP+ t- 5++ X+@ R tv--- b++>++++ DI+ D+ G e++
h r% y++

Reply via email to