Path: utzoo!attcan!uunet!ispi!tfli!mikej From: mikej@tfli.UUCP (Michael R. Johnston) Newsgroups: comp.unix.questions Subject: Re: Problem piping "jobs" Message-ID: <253@tfli.UUCP> Date: 11 Dec 88 02:15:46 GMT References: <733@iraun1.ira.uka.de> Reply-To: mikej@tfli.UUCP (Michael R. Johnston) Organization: Tempforce Long Island, NY Lines: 17 In article <733@iraun1.ira.uka.de> schuetz@iraul1.ira.uka.de (Elmar Schuetz) writes: >I want to "kill -9" the latest submitted job in a csh-environment. >I mean the job with the highest number. Note, this is not always "%+". NOTE: Your last process does NOT necessarily have to be the highest numbered process attached to your tty. In particular processes wrap around after a certain point and start from the bottom again. This is one of those things that WILL work in the majority of cases. Your playing roulette if logged in as root though...... -- --- Michael R. Johnston - @NET: mikej@cpmain.uucp ...{cmcl2!phri!,uunet!}dasys1!cpmain!mikej || ...!philabs!mergvax!cpmain!mikej