From: Aaron Gray on
How do I make bash show the commands it is executing ?

Many thanks in advance,

Aaron


From: Lew Pitcher on
In alt.os.linux, Aaron Gray wrote:

> How do I make bash show the commands it is executing ?

set -x


--
Lew Pitcher

Master Codewright & JOAT-in-training | Registered Linux User #112576
http://pitcher.digitalfreehold.ca/ | GPG public key available by request
---------- Slackware - Because I know what I'm doing. ------


From: Aaron Gray on
"Lew Pitcher" <lpitcher(a)teksavvy.com> wrote in message
news:bc701$48692e64$cef8b59e$1444(a)TEKSAVVY.COM-Free...
> In alt.os.linux, Aaron Gray wrote:
>
>> How do I make bash show the commands it is executing ?
>
> set -x

Thanks Lew,

Aaron


From: Aaron Gray on
"Lew Pitcher" <lpitcher(a)teksavvy.com> wrote in message
news:bc701$48692e64$cef8b59e$1444(a)TEKSAVVY.COM-Free...
> In alt.os.linux, Aaron Gray wrote:
>
>> How do I make bash show the commands it is executing ?
>
> set -x

Is there anyway to get it to echo without the '+ ' at the beggining of the
line ?

Aaron


From: Chris F.A. Johnson on
On 2008-06-30, Aaron Gray wrote:
> "Lew Pitcher" <lpitcher(a)teksavvy.com> wrote in message
> news:bc701$48692e64$cef8b59e$1444(a)TEKSAVVY.COM-Free...
>> In alt.os.linux, Aaron Gray wrote:
>>
>>> How do I make bash show the commands it is executing ?
>>
>> set -x
>
> Is there anyway to get it to echo without the '+ ' at the beggining of the
> line ?

PS4=

Or:

set -v ## Not quite the same as set -x

--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence