| |||
| How do I make bash echo commands How do I make bash show the commands it is executing ? Many thanks in advance, Aaron |
| |||
| Re: How do I make bash echo commands "Lew Pitcher" <lpitcher@teksavvy.com> wrote in message news:bc701$48692e64$cef8b59e$1444@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 |
| |||
| Re: How do I make bash echo commands 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. ------ |
| |||
| Re: How do I make bash echo commands "Lew Pitcher" <lpitcher@teksavvy.com> wrote in message news:bc701$48692e64$cef8b59e$1444@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 |
| |||
| Re: How do I make bash echo commands On Mon, 30 Jun 2008 20:49:04 +0100, 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 ? Read the ****ing man page, you sniveling helpless stooge. > X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 Oh. I guess you can't do that. Sounds like a homework question to me. Bugger off. -- "Ubuntu" -- an African word, meaning "Slackware is too hard for me". |
| |||
| Re: How do I make bash echo commands "Dan C" <youmustbejoking@lan.invalid> wrote in message news:pan.2008.06.30.20.51.20.227389@moria2.lan... > On Mon, 30 Jun 2008 20:49:04 +0100, 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 ? > > Read the ****ing man page, you sniveling helpless stooge. > >> X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 > > Oh. I guess you can't do that. > > Sounds like a homework question to me. Bugger off. Hi Dan, just here to annoy you again, as thats my sole purpose in life, sorry I have not been annoying you again lately, but I am back now :) No its not a homework question. I actually do open source software development and am porting my project across Windows, Mac OSX and Linux so people can use it what ever machine they are using. Now its great to ask a quick question and get a quick answer without having to read through man pages (which I hate doing) and move on to the next problem. Cheers for the answer, Aaron |
| |||
| Re: How do I make bash echo commands On 2008-06-30, Aaron Gray wrote: > "Lew Pitcher" <lpitcher@teksavvy.com> wrote in message > news:bc701$48692e64$cef8b59e$1444@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 |
| |||
| Re: How do I make bash echo commands On 2008-06-30, Aaron Gray wrote: > "Dan C" <youmustbejoking@lan.invalid> wrote in message > news:pan.2008.06.30.20.51.20.227389@moria2.lan... >> On Mon, 30 Jun 2008 20:49:04 +0100, 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 ? >> >> Read the ****ing man page, you sniveling helpless stooge. >> >>> X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 >> >> Oh. I guess you can't do that. >> >> Sounds like a homework question to me. Bugger off. > > Hi Dan, just here to annoy you again, as thats my sole purpose in life, While that's a worthy objective, you are only annoying everyone else by reposting DanC's drivel. Please just killfile him. -- 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 |
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bash Help Required ... | dirty.angelz@googlemail.com | Linux | 1 | 03-11-2008 01:00 PM |
| bash question | Eric | Linux | 5 | 02-08-2008 01:30 AM |
| A little bash/perl programming help? | Ivan Marsh | Linux | 21 | 11-04-2007 07:40 AM |
| Office 2003 Make All Menu Commands available to all Programs | Galen W. Sievert, PCC, MS Ed. | Microsoft Office | 2 | 01-23-2007 07:00 AM |
| Echo multiple messages separated by new line thorugh "echo" command | Vijay Jain | Windows XP | 1 | 01-04-2007 05:56 AM |