hmmmmmm...i noticed that the ftpd line for a user shows the username followed by a
':'. you can include this in your search string. i doubt if you have a username
with a semicolon somewhere.

vince.

Carlo Sogono wrote:

> > To kill all of carlo's ftp connections:
> >
> > kill -9 `ps ax|grep ftpd|grep -v grep|grep carlo|awk '{print$1}'
> Oh no! This will kill all users with 'carlo' in them like carlo2 or carlosf!
> Any awk experts who could help me out?
>
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to