[svlug] Newbie ques: How to echo commands from a script file

J C Lawrence claw at kanga.nu
Tue Jan 8 09:32:01 PST 2002

On Tue, 08 Jan 2002 09:27:47 -0800 
Todd G Gardner <nicoli at bigfoot.com> wrote:

> How do I cause all the commands from a script file to echo to the
> terminal window.

Depends on the language you write the script it.  For some its not
easy/possible (eg Python).  For bash, use:

  set -x

J C Lawrence                
---------(*)                Satan, oscillate my metallic sonatas. 
claw at kanga.nu               He lived as a devil, eh?		  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.

More information about the svlug mailing list