Re: echo command as in windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can you recommend some good sources of information on this type of stuff
so that I don't keep bothering the list?

>>> nmw@xxxxxxxxxxxx 5/25/06 12:20:56 PM >>>
Jeffrey Beckstrom wrote:
> This is a scheduled crontab job.
> 
> 
>>>>wia@xxxxxxxxxx 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@xxxxxxxxxxxx 
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe 
https://www.redhat.com/mailman/listinfo/redhat-list 

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux