home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!usc!sdd.hp.com!nigel.msen.com!yale.edu!yale!mintaka.lcs.mit.edu!hal.gnu.ai.mit.edu!ericy
- From: ericy@hal.gnu.ai.mit.edu (Eric Youngdale)
- Subject: Re: killing a process
- Message-ID: <1992Aug15.190723.5752@mintaka.lcs.mit.edu>
- Sender: news@mintaka.lcs.mit.edu
- Organization: /etc/organization
- References: <1992Aug15.180907.21069@usenet.ins.cwru.edu>
- Date: Sat, 15 Aug 1992 19:07:23 GMT
- Lines: 20
-
- In article <1992Aug15.180907.21069@usenet.ins.cwru.edu> mdr4@po.CWRU.Edu (Mark D. Rutherford) writes:
- >
- >I know to kill a process you use the "kill" command. But to use the
- >kill command, you need the process id number. How do I find out
- >the pid number? I couldn't find the "ps" command on any of the FTP
- >sites.
-
- It is possible to kill a process without knowing the pid. If the
- process you want to kill is one that you started from your shell, and you
- suspended it, then you can use the jobs command to show the job numbers,
- and then you can type
-
- kill %1
-
- to kill job number 1, etc.
-
- If you still need the ps command, look for ps-0.97.tar.Z on the usual
- archive sites.
-
- -Eric
-