Re: What is going on with ash / sh

2011-11-03 Thread Mark Saad
On Wed, Nov 2, 2011 at 4:35 PM, Doug Barton do...@freebsd.org 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

Re: What is going on with ash / sh

2011-11-03 Thread Mark Saad
On Wed, Nov 2, 2011 at 4:37 PM, Garrett Cooper yaneg...@gmail.com wrote: On Wed, Nov 2, 2011 at 1:28 PM, Mark Saad nones...@longcount.org 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

Re: What is going on with ash / sh

2011-11-03 Thread Tim Kientzle
On Nov 2, 2011, at 1:28 PM, 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

What is going on with ash / sh

2011-11-02 Thread Mark Saad
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

Re: What is going on with ash / sh

2011-11-02 Thread Doug Barton
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+

Re: What is going on with ash / sh

2011-11-02 Thread Ryan Stone
On Wed, Nov 2, 2011 at 4:28 PM, Mark Saad nones...@longcount.org 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+    

Re: What is going on with ash / sh

2011-11-02 Thread Garrett Cooper
On Wed, Nov 2, 2011 at 1:28 PM, Mark Saad nones...@longcount.org 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+    

Re: What is going on with ash / sh

2011-11-02 Thread Garrett Cooper
On Wed, Nov 2, 2011 at 1:37 PM, Garrett Cooper yaneg...@gmail.com wrote: On Wed, Nov 2, 2011 at 1:28 PM, Mark Saad nones...@longcount.org 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

Re: What is going on with ash / sh

2011-11-02 Thread Dan Nelson
In the last episode (Nov 02), Mark Saad said: 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

Re: What is going on with ash / sh

2011-11-02 Thread Dan Nelson
In the last episode (Nov 02), Dan Nelson said: In the last episode (Nov 02), Mark Saad said: 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