RE: echo command as in windows
- From: "Michael Velez" <mikev777@xxxxxxxxxxx>
- Date: Thu, 25 May 2006 13:39:08 -0400
-----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
- References:
- echo command as in windows
- From: Jeffrey Beckstrom
- echo command as in windows
- Prev by Date: RE: echo command as in windows
- Next by Date: RE: echo command as in windows (answer to 2nd question)
- Previous by thread: RE: echo command as in windows
- Next by thread: RE: echo command as in windows
- Index(es):
Relevant Pages
|
|