Thanks!
On 4/3/2001 4:41 PM this was written:
> On Tuesday 03 April 2001 21:59, you wrote:
>
>> I would like to find all processes by a given user on a linux box and
>> kill them. I know this much:
>>
>> ps -u username
>>
>> Now, do I then pipe that to grep somehow and get just the PID's?
>
On Tuesday 03 April 2001 22:41, you wrote:
> (1) look up system / backtick operator / ... to get the output of the
> grep call as array, one line per entry
"... output of the ps call" of course
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found. retry, abort, ignore?
On Tuesday 03 April 2001 21:59, you wrote:
> I would like to find all processes by a given user on a linux box and
> kill them. I know this much:
>
> ps -u username
>
> Now, do I then pipe that to grep somehow and get just the PID's?
(1) look up system / backtick operator / ... to get the outpu
I know this is off-topic but what I'm using it for will be in a PHP script!
All you who are grep-masters I have a question.
I would like to find all processes by a given user on a linux box and kill
them. I know this much:
ps -u username
Now, do I then pipe that to grep somehow and get just
4 matches
Mail list logo