Running a Script- and debugging.

Jim mickeyboa at sbcglobal.net
Tue Sep 22 16:02:47 UTC 2009


On 09/22/2009 11:05 AM, Patrick O'Callaghan wrote:
> On Tue, 2009-09-22 at 10:52 -0400, Jim wrote:
>    
>> FC11/KDE
>>
>> I have a script to run for setting up a Samsung CLX3175FN, when I start
>> it it hangs. and doesn't say why , how can I find why it hangs ?
>>
>> I'm running it from the terminal as root.
>>      
> If it's a Shell script (you don't say) try running it as "sh -x
> script.sh" or "sh -v script.sh".
>
> poc
>
>    
Thanks Patrick for yor responds.
Using the sh -x command shows me to where it stopped.
What app. in Linux could I use that would show the line # and have the 
Find a line in it.
The Console does not have a "find" command in it.
Prefer a app. that is not a command line app.  I'm not very good at "vi" 
and some of the others.




More information about the users mailing list