Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!ogicse!littlei!gandalf!andyc From: andyc@bucky.intel.com (Andy Crump) Newsgroups: comp.unix.questions Subject: Re: Process ID of th shell Message-ID: Date: 31 May 91 09:55:08 GMT References: <11563@mirsa.inria.fr> Sender: news@gandalf.UUCP Followup-To: comp.unix.questions Distribution: world,local Organization: Intel Corporation, Hillsboro, Oregon Lines: 16 Nntp-Posting-Host: bucky In-reply-to: gilette@trinidad.inria.fr's message of 31 May 91 12:06:30 GMT >>>>> On 31 May 91 12:06:30 GMT, gilette@trinidad.inria.fr (Serge Gilette) said: Serge> i was wondering how a script shell can tell the process id of the Serge> shell it's attached to (in order to being able to kill it). Try the variable $$. -- -- Andy Crump ...!tektronix!reed!littlei!andyc | andyc@littlei.intel.com ...!uunet!littlei!andyc | andyc@littlei.uu.net Disclaimer: Any opinions expressed here are my own and not representive of Intel Corportation.