On 12/28/05, Kapil Sethi <[EMAIL PROTECTED]> wrote:
> >
> > How do I extract the 2nd field from the file(/etc/spli.txt), I know awk or
> > with sed one can do it but I don't know these scripting tools.
> >
> > cat /etc/spli.txt | awk '{print $2}'
>
> to kill
>
> kill `cat /etc/spli.txt | awk '{print $2}'`
>

To kill "all" processes of the user pkill inserted in logout scrip will work.
--
Sudev Barar
Learning Linux

_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to