|
From: Aaron Gray on 30 Jun 2008 14:44 How do I make bash show the commands it is executing ? Many thanks in advance, Aaron
From: Lew Pitcher on 30 Jun 2008 15:12 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 30 Jun 2008 15:10 "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 30 Jun 2008 15:49 "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 30 Jun 2008 21:31 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
|
Pages: 1 Prev: Quick bash question Next: Would you want THESE GUYS touching your PC? |