On Wed, Nov 2, 2011 at 4:35 PM, Doug Barton <[email protected]> wrote: > On 11/02/2011 13:28, Mark Saad wrote: >> Hackers >> What is going on here, if I run the following shell script, what is >> the expected output . The script is named xxx >> >> #!/bin/sh >> ps -ax | grep -v grep | grep xxx >> >> Here is what I see >> >> >> # sh xxx >> 88318 p0 S+ 0:00.00 sh xxx >> 88320 p0 R+ 0:00.00 sh xxx >> 88321 p0 R+ 0:00.00 sh xxx >> >> >> Can someone explain this ? > > I only see one. What happens if you run this on the command line? > > if you run it from the command line you only see on process.
> > -- > > "We could put the whole Internet into a book." > "Too practical." > > Breadth of IT experience, and depth of knowledge in the DNS. > Yours for the right price. :) http://SupersetSolutions.com/ > > -- mark saad | [email protected] _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[email protected]"

