[svlug] Newbie ques: How to echo commands from a script file
steffl at bigfoot.com
Tue Jan 8 18:30:01 PST 2002
William R Ward wrote:
> "Todd G. Gardner" <nicoli at bigfoot.com> writes:
> > I am running rh72.
> > How do I cause all the commands from a script file to echo to the
> > terminal window.
> > echo on does not seem to work if I put that in my script file
> Depends on what scripting language you are using. "echo on" is for
> MS-DOS batch files, which is a different scripting language.
> On Linux you're probably using a shell or Perl script. If it's a Perl
> script, you can't do it; you'll have to insert "print" statements into
if you're using perl you can debug it either using its internal
debugger or using a GUI fornt-end for internal debugger (e.g. ddd).
More information about the svlug