bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kill job vs. pid


From: Daniel Norton
Subject: kill job vs. pid
Date: Fri, 25 Jul 2008 07:28:03 -0700 (PDT)
User-agent: G2/1.0

A simple question and perhaps its simplicity explains why I can't find
an answer elsewhere:

  How do I tell bash to kill job 1, rather than pid 1 ?

What does "kill <<n>>" mean?  What if there is no jobspec <<n>> and I
type "kill <<n>>" ?

e..g.

$ jobs
[1]+  Stopped                 blahblahblah
$ ps 1
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:02 /sbin/init

Thanks.

--
Daniel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]