From owner-freebsd-questions@FreeBSD.ORG Thu Dec 23 19:54:56 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B56E716A4CE for ; Thu, 23 Dec 2004 19:54:56 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DDBE43D53 for ; Thu, 23 Dec 2004 19:54:56 +0000 (GMT) (envelope-from joshua.lokken@gmail.com) Received: by wproxy.gmail.com with SMTP id 36so56750wra for ; Thu, 23 Dec 2004 11:54:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=s6QewO2U6W9eTLd+EXo254KtGS17FU9eqMaO2fiq9RKcxjKlAufPVs2dNsjtjDtFswKmXFXfMoqaOXGdYWdwFuguAj1MispzBL4J4qnlww6dtROKnrRHhAdg+D0AsfksjuTcHdKHM9KcALZMPrHg2Kgo/O5fJYqC4zZ+JqHwNHw= Received: by 10.54.6.43 with SMTP id 43mr183897wrf; Thu, 23 Dec 2004 11:54:55 -0800 (PST) Received: by 10.54.11.33 with HTTP; Thu, 23 Dec 2004 11:54:55 -0800 (PST) Message-ID: Date: Thu, 23 Dec 2004 13:54:55 -0600 From: Joshua Lokken To: lists In-Reply-To: <006e01c4e914$4a3520b0$c1b115d8@Main> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <004001c4e888$fe5f20e0$c1b115d8@Main> <20041223005619.GA88565@gothmog.gr> <006e01c4e914$4a3520b0$c1b115d8@Main> cc: freebsd-questions@freebsd.org Subject: Re: buildworld via ssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joshua Lokken List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2004 19:54:56 -0000 On Thu, 23 Dec 2004 12:24:38 -0500, lists wrote: > I did a 'make -DNOCLEAN buildworld 2>&1 blah.txt &' and it didnt work as I > would have expected. > It spaced it out when I looked at the processes like this > make -DNOCLEAN buildworld 2 > & 1 blah.txt & > So, it tried to also tried to "make 2" and failed and wrote the output to a > file named "1" > A redirect like this works on BSDi, not sure why it didn't in this case on > FreeBSD5.2 > Am I doing something wrong? > > BTW i now have this > # ll /usr/obj/usr/src/usr.sbin/zzz > total 2 > -rw-r--r-- 1 root wheel 1076 Dec 23 07:34 zzz.8.gz >From this reference, it looks like the syntax should be: (for sh and friends, not csh): # make -DNO_CLEAN buildworld file.txt 2>&1 & Works on my system ;) http://wks.uts.ohio-state.edu/unix_course/intro-69.html -- Joshua Lokken Open Source Advocate