delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/11/04:57:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 11 May 2005 04:57:08 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: John R Larsen <theClaw56 AT larsen-family DOT us>
cc: cygwin AT cygwin DOT com
Subject: Re: how to kill windows process from bash shell?
In-Reply-To: <42813327.5639.53B2D69A@localhost>
Message-ID: <Pine.GSO.4.61.0505110451310.12861@slinky.cs.nyu.edu>
References: <20050510220741 DOT 32025 DOT qmail AT web51804 DOT mail DOT yahoo DOT com> <42813327 DOT 5639 DOT 53B2D69A AT localhost>
MIME-Version: 1.0

Ugh.  Top-posting.  Reformatted.

On Tue, 10 May 2005, John R Larsen wrote:

> On 10 May 2005 at 18:18, Christopher Faylor wrote:
>
> Date sent:      	Tue, 10 May 2005 18:18:49 -0400
> From:           	Christopher Faylor <cgf-no-personal-reply-please AT XXXXXX DOT XXX>
> To:             	cygwin AT XXXXXX DOT XXX
> Subject:        	Re: how to kill windows process from bash shell?
> Send reply to:  	cygwin AT XXXXXX DOT XXX

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.

> > On Tue, May 10, 2005 at 03:07:40PM -0700, David Fong wrote:
> > >or when I type
> > >$ kill -f 3412
> > >bash: kill: f: invalid signal specification
> > >[snip]
> > >I only want to kill the hanging windows process.
> >
> > You need to run the program "/bin/kill" rather than the bash
> > builtin "kill": /bin/kill -f 3412
>
> In my installation the path is "/usr/bin/kill"  Do a "which kill" to
> find the path.

Bash builtins take precedence over commands in the PATH.  So do aliases
and shell functions, for that matter.  "which" doesn't know about either
one of those.  Use bash's "type" for more accurate information (i.e.,
"type kill").

And, as CGF mentioned, /bin and /usr/bin should be the same directory on
proper Cygwin installations.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019