pkill script
Tom Van Looy
assarix@pandora.be
Wed May 7 09:56:00 GMT 2008
Hi list
I first want to thank everyone that helped to develop Cygwin, I really really really like it. Screenshot: http://ctors.net/pub/zsh_cygwin.png :-)
Two nice aliases I use for Windows are uptime and pkill:
alias uptime="systeminfo | grep -i 'system up time'"
pkill is a bash script in my ~/bin folder (I include that folder in my $PATH)
$ cat bin/pkill
#!/bin/sh
# be VERY careful with parameter $1
case $1 in
'' )
cat "$0"
;;
* )
for pid in $( ps -aW | grep -i $1 | awk '{ print $4 }' );
do tskill $pid /V;
done
;;
esac
Again thanks for the great software, keep up the good work!!
Tom Van Looy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list