Hi , Well i knew pgrep and it is same as i wrote in single line.....NO ISSUE about it.
I logged in as 'root' so poweroff could be invoked and path was OK. Moreover the last point I again did 'sh kills.sh' PC WENT OFF. Well, name of script was kills.sh not kill.sh always. cheers, Devesh. _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Next Event: http://freed.in - February 22-24, 2008 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/