echo command as in windows

Russell Harrison rtlm10 at gmail.com
Thu May 25 18:35:54 UTC 2006


Jeffrey,

The Advanced Bash-Scripting Guide <http://www.tldp.org/LDP/abs/html/> at the
The Linux Documentation Project <http://www.tldp.org> is a resource I still
check from time to time.  You should read through it as a good way to get
started with Bash shell scripting.

Russell

Advanced Bash-Scripting Guide:  http://www.tldp.org/LDP/abs/html/
The Linux Documentation Project:  http://www.tldp.org

On 5/25/06, Jeffrey Beckstrom <JBECKSTROM at gcrta.org> wrote:
>
> 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
>
> --
> 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