echo command as in windows

Marc Wiatrowski wia at iglass.net
Thu May 25 15:58:45 UTC 2006


> -----Original Message-----
> From:Jeffrey Beckstrom
> Sent: Thursday, May 25, 2006 11:34 AM
> Subject: echo command as in windows
> 
> In windows, you can do "set echo on" so that all commands in the bat
> file are listed.  Is there a way to do the same in Linux.

Are you using bash?  try running it with 'bash -x <script>'

marc





More information about the redhat-list mailing list