Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!udel!wuarchive!gem.mps.ohio-state.edu!apple!claris!sts!octopus!avsd!childers From: childers@avsd.UUCP (Richard Childers) Newsgroups: comp.unix.questions Subject: Re: Quieting & background jobs in sh and ksh Message-ID: <2119@avsd.UUCP> Date: 3 Oct 89 22:49:52 GMT References: <4393@cbnewsh.ATT.COM> Reply-To: childers@avsd.UUCP (Richard Childers) Distribution: comp Organization: Metaprogrammers International Lines: 29 wcs@cbnewsh.ATT.COM (Bill Stewart 201-949-0705 ho95c.att.com!wcs) writes: >I want to put a command into background without getting the process-id >echoed by the shell. I've tried variants on > nohup foo >/dev/null 2>&1 & >but still get the process-id back in /bin/sh and the [jobnumber] pid >in ksh. Is there any way to silence this? I've used something like this with the csh successfully : ( command arg1 arg2 argN >& /dev/null ) & >& /dev/null ... I'm not sure how it'd work in a ksh environment, though ... ># Bill Stewart, AT&T Bell Labs 4M312 Holmdel NJ 201-949-0705 ho95c.att.com!wcs -- richard ># More Colombians die from American tobacco than Americans from Colombian coke. Ain't it the truth ??!! -- * "Domains constitute a futile attempt to defeat anarchy and otherwise * * retard progress." (Steve Bellovin, Peter Honeyman, pathalias(l)) * * * * ..{amdahl|decwrl|octopus|pyramid|ucbvax}!avsd.UUCP!childers *