From owner-freebsd-questions Sun Sep 26 15:47: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id B2CE114C0A for ; Sun, 26 Sep 1999 15:46:59 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id SAA90467; Sun, 26 Sep 1999 18:49:54 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199909262249.SAA90467@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Run a command in background after logout In-Reply-To: from Zhihui Zhang at "Sep 26, 1999 06:16:49 pm" To: zzhang@cs.binghamton.edu (Zhihui Zhang) Date: Sun, 26 Sep 1999 18:49:54 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Zhihui Zhang wrote, > > Can anyone tell me how to run a command in the backgroud (with &) after I > log out? I forget the option. Something like "no hang up". Thanks. Umm... Why not just use '&'? Or batch(1) might be appropriate. Anyway, the command you are looking for is nohup(1). -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message