> -----Original Message----- > From: redhat-list-bounces@xxxxxxxxxx > [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Jeffrey Beckstrom > Sent: Thursday, May 25, 2006 11:34 AM > To: redhat-list@xxxxxxxxxx > 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. > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > To echo commands as they appear, have this as your first line in the script: #!/bin/bash -v If you want to see the values of variables at any point in time during execution, have this: #!/bin/bash -x Michael -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list