New to KCLUG

Mike Coleman mcoleman2 at kc.rr.com
Fri May 19 19:56:37 CDT 2000


Rocky McGaugh <rmcgaugh at atipa.com> writes:
> On Thu, 18 May 2000, Benjamin Gall wrote:
> > After I wrote it I did a "chmod +x smb", then
> > when I try to run it I get the error "./smb: No such file or
> > directory".  Why am I getting this?

> for your script, the error message most likely reflects a path
> problem in one the progs called by your script.

This sounds right to me.  One trick that can help diagnose problems like this
is to run the script with the -x or -v flags.  You can do this by saying
something like

        sh -x ./smb

or editing the script to include a line like

        set +x

The 'x' flag will produce output for each program the script runs, and the 'v'
flag will produce output for each line of the script as it is read (usually
less useful than 'x').

--Mike

-- 
Any sufficiently adverse technology is indistinguishable from Microsoft.




More information about the Kclug mailing list