Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!att!cbnews!lvc From: lvc@cbnews.ATT.COM (Lawrence V. Cipriani) Newsgroups: comp.unix.questions Subject: Re: Quieting & background jobs in sh and ksh Message-ID: <9840@cbnews.ATT.COM> Date: 2 Oct 89 15:17:03 GMT References: <4393@cbnewsh.ATT.COM> Reply-To: lvc@cbnews.ATT.COM (Lawrence V. Cipriani) Distribution: comp Organization: Ideology Busters Inc. Lines: 15 In article <4393@cbnewsh.ATT.COM> wcs@cbnewsh.ATT.COM (Bill Stewart) 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? This will work for ksh and sh: (foo &) > /dev/null 2>&1 -- -- Larry Cipriani, att!cbsck!larry or larry@cbsck.att.com "It seems that capitalism is not rotting away, as we were told, but it seems to be prospering." -- Boris N. Yeltsin