bash q
Baruch Siach
baruch at tkos.co.il
Mon Apr 8 10:42:46 IDT 2013
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------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the Linux-il
mailing list