On Mon, Apr 29, 2002 at 12:48:27PM +0200, Boniforti Flavio wrote:

> > Run the script line by line, that will show which specific command
> > generates the error.  The email that line here and people will be able
> > to help you out.
> 
> How do I get the script to run line-after-line?

Either cut and paste each line into the command line ( careful if you're
doing this on a remote host ).

Or presuming that this is a bash script, add "-v" to the line at the top of
the script, so

#!/bin/bash

becomes

#!/bin/bash -v

That will display each line as it's executed, which should make it easy to
spot which line generates the error.

-- 
FunkyJesus System Administration Team


Reply via email to