[Gllug] Dumb shell question

Steve Cobrin cobrin at highbury.net
Sun Jan 20 00:20:12 UTC 2002


Run the command via "sh -x command" and examine the output.
with the -vx flag the shell will be even more verbose.

To save it for later perusal type "sh -x command 2>&1 | tee /tmp/command.log

-- Steve

On Saturday 19 Jan 2002 18:44 pm, John Hearns wrote:
> Folks,
> I just know this question has an obvious answer, and I will
> kick myself when someone says it.
>
> On a Redhat 7.2 system I am trying to run a /bin/sh script
> (in fact a software installer)
> Under my own Id it seems to run fine.
> Under root I get:
>
> - starting install...
>
> : command not found
> : command not found
> : command not found
> : No such file or directoryh
>
> What is the fix please?
>
> BTW, ash is installed, but /bin/sh points to bash

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list