Hi Erez,
On Mon, Apr 08, 2013 at 10:32:44AM +0300, Erez D wrote:
> to debug a shell script i can run it as 'sh -x myscript'
> but how can i enable the debug from within the script if run with 'sh
> myscript' ?
Just do 'set -x'.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- [email protected] - tel: +972.2.679.5364, http://www.tkos.co.il -
_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il