From owner-freebsd-questions Wed Jul 18 10:19:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id 0C6D537B403 for ; Wed, 18 Jul 2001 10:19:50 -0700 (PDT) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id TAA22327; Wed, 18 Jul 2001 19:27:29 +0200 Message-ID: <3B55C5AD.7BCDF77@i-clue.de> Date: Wed, 18 Jul 2001 19:21:49 +0200 From: Christoph Sold Reply-To: so@server.i-clue.de X-Mailer: Mozilla 4.75 [de] (WinNT; U) X-Accept-Language: de MIME-Version: 1.0 To: angela Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: one & and two && References: <1399129667.20010709164730@mail.ru> <006e01c10927$c3151d80$6d36120a@comsys.ntukpi.kiev.ua> <18810557330.20010711121320@mail.ru> <86itgz4eyf.fsf@hades.hell.gr> <20010711224709.11607.qmail@panda.freebsdsystems.com> <867kxe504y.fsf@hades.hell.gr> <20010712214650.4566.qmail@panda.freebsdsystems.com> <3B55BC96.8E7B1F30@ca.inter.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG angela schrieb: > > Hi Lanny Baron > > What is differenet one '&' and two '&&' In bash and C shell scripts, one ampersand (at the end of the command) will send the job into background. two ampersands will have the second command execute only if the first one succeded (as a side effect). > Lanny Baron wrote: > > > Hi, > > I did a cd /usr/src; make update && > > make buildworld && > > make install world && > > make buildkernel && > > make installkernel && > > reboot The above was actually one long line and had to be broken up for email. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message