echo command as in windows
Jeffrey Beckstrom
JBECKSTROM at gcrta.org
Thu May 25 17:05:05 UTC 2006
Can you recommend some good sources of information on this type of stuff
so that I don't keep bothering the list?
>>> nmw at ion.le.ac.uk 5/25/06 12:20:56 PM >>>
Jeffrey Beckstrom wrote:
> This is a scheduled crontab job.
>
>
>>>>wia at iglass.net 5/25/06 11:58:45 AM >>>
>>
>>-----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
>
>
Use 'set -x' within the script to turn it on, and 'set +x' to turn it
off.
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw at ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list