| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| From: | "Tom Van Looy" <assarix AT pandora DOT be> |
| To: | cygwin AT cygwin DOT com |
| Sensitivity: | Normal |
| Message-ID: | <W540413132078331210154066@nocme1bl6.telenet-ops.be> |
| X-Forwarded-For: | [10.10.1.191] |
| Date: | Wed, 07 May 2008 09:54:26 +0000 |
| Subject: | pkill script |
| Reply-To: | assarix AT pandora DOT be |
| MIME-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |