Re: commands within shell script

2003-03-05 Thread Nori Heikkinen
on Wed, 05 Mar 2003 07:49:52AM -0600, Ron Johnson insinuated: > On Tue, 2003-03-04 at 20:41, Nori Heikkinen wrote: > > on Tue, 04 Mar 2003 05:13:33PM -0500, Benjamin Rutt insinuated: > > > Nori Heikkinen <[EMAIL PROTECTED]> writes: > > > > okay, this is cool ... i'd just misunderstood a friend's qu

Re: commands within shell script

2003-03-05 Thread Ron Johnson
On Tue, 2003-03-04 at 20:41, Nori Heikkinen wrote: > on Tue, 04 Mar 2003 05:13:33PM -0500, Benjamin Rutt insinuated: > > Nori Heikkinen <[EMAIL PROTECTED]> writes: > > > okay, this is cool ... i'd just misunderstood a friend's question. > > > he doesn't even want to run top, he wants to stick in a

Re: commands within shell script

2003-03-04 Thread Nori Heikkinen
on Tue, 04 Mar 2003 05:13:33PM -0500, Benjamin Rutt insinuated: > Nori Heikkinen <[EMAIL PROTECTED]> writes: > > okay, this is cool ... i'd just misunderstood a friend's question. > > he doesn't even want to run top, he wants to stick in a bunch of > > echo statements. > > In that case, place 'set

Re: commands within shell script

2003-03-04 Thread Martin Kacerovsky
Hi, On Tue, Mar 04, 2003 at 02:32:40PM -0800, Vineet Kumar wrote: > > This is all consistent with what I've said. > sleep is a process, not a builtin, Yeah, I see, I had overlooked that 'built-in', that explains it. > and shows up in the process list. So, too, does the bash

Re: commands within shell script

2003-03-04 Thread Vineet Kumar
* Martin Kacerovsky <[EMAIL PROTECTED]> [20030304 13:14 PST]: > Hi, > > On Tue, Mar 04, 2003 at 12:15:56PM -0800, Vineet Kumar wrote: > > * Nori Heikkinen <[EMAIL PROTECTED]> [20030304 12:11 PST]: > > > hey, > > > > > > by default, a shell script just appears as the script name in a list > > > of

Re: commands within shell script

2003-03-04 Thread Benjamin Rutt
Nori Heikkinen <[EMAIL PROTECTED]> writes: > okay, this is cool ... i'd just misunderstood a friend's question. he > doesn't even want to run top, he wants to stick in a bunch of echo > statements. In that case, place 'set -x' as the 2nd line of the shell script (the line after the #! business)

Re: commands within shell script

2003-03-04 Thread Ron Johnson
On Tue, 2003-03-04 at 13:47, Nori Heikkinen wrote: > hey, > > by default, a shell script just appears as the script name in a list > of processes (ps; top), right? how can i make it show each command > called within the script as it's being executed? Maybe you are talking about this: #!/bin/ba

Re: commands within shell script

2003-03-04 Thread Nori Heikkinen
on Tue, 04 Mar 2003 09:20:27PM +0100, Martin Kacerovsky insinuated: > On Tue, Mar 04, 2003 at 02:47:49PM -0500, Nori Heikkinen wrote: > > by default, a shell script just appears as the script name in a > > list of processes (ps; top), right? how can i make it show each > > command called within th

Re: commands within shell script

2003-03-04 Thread Martin Kacerovsky
Hi, On Tue, Mar 04, 2003 at 12:15:56PM -0800, Vineet Kumar wrote: > * Nori Heikkinen <[EMAIL PROTECTED]> [20030304 12:11 PST]: > > hey, > > > > by default, a shell script just appears as the script name in a list > > of processes (ps; top), right? how can i make it show each command > > called w

Re: commands within shell script

2003-03-04 Thread Martin Kacerovsky
Hi, sorry for replying on my own mail On Tue, Mar 04, 2003 at 09:20:27PM +0100, Martin Kacerovsky wrote: > Hi, > > Try it. > put into file 'test.sh' line 'sleep 10' > then chmod +x on it, and then execute it, > in output you will see : the new shell, and sleep ... There should be :

Re: commands within shell script

2003-03-04 Thread Martin Kacerovsky
Hi, On Tue, Mar 04, 2003 at 02:47:49PM -0500, Nori Heikkinen wrote: > hey, > > by default, a shell script just appears as the script name in a list > of processes (ps; top), right? how can i make it show each command > called within the script as it's being executed? I don't think so, n

Re: commands within shell script

2003-03-04 Thread Vineet Kumar
* Nori Heikkinen <[EMAIL PROTECTED]> [20030304 12:11 PST]: > hey, > > by default, a shell script just appears as the script name in a list > of processes (ps; top), right? how can i make it show each command > called within the script as it's being executed? It already is. For each program call

commands within shell script

2003-03-04 Thread Nori Heikkinen
hey, by default, a shell script just appears as the script name in a list of processes (ps; top), right? how can i make it show each command called within the script as it's being executed? thanks, -- .~. nori @ sccs.swarthmore.edu /V\ http://www.sccs.swarthmore.edu/~nori/jnl/