From owner-freebsd-questions Thu Jul 25 14:47:35 2002 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 DFF4D37B401 for ; Thu, 25 Jul 2002 14:47:32 -0700 (PDT) Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFA5943E84 for ; Thu, 25 Jul 2002 14:47:31 -0700 (PDT) (envelope-from kevin@caomhin.demon.co.uk) Received: from caomhin.demon.co.uk ([62.49.21.186]) by anchor-post-31.mail.demon.net with esmtp (Exim 3.35 #1) id 17XqSI-000761-0V; Thu, 25 Jul 2002 22:47:30 +0100 Message-ID: Date: Thu, 25 Jul 2002 22:45:59 +0100 To: Peter Leftwich Cc: FreeBSD LIST From: Kevin Golding Subject: Re: Can you relate to my Tour of Despair? References: <20020725085104.GK26176@freepuppy.bellavista.cz> <20020725163009.O58623-100000@earl-grey.cloud9.net> In-Reply-To: <20020725163009.O58623-100000@earl-grey.cloud9.net> MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U 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 Someone, quite probably Peter Leftwich, once wrote: >On Thu, 25 Jul 2002, Roman Neuhauser wrote: >[snip] >> % cd /usr/ports && make update >> % cd ./audio/agbrowser && make install clean > >What does the "&&" do? Is it similar to the usage of ";" but instead >issues the command after the "&&" at the result of the "cd?" That is, does >the double ampersand cause your shell (which is..?) to not execute the make >command in the current working dir (cwd)? && means the second command will only run if the first was successful whereas ; will run the second command no matter what. You can also use || which will only run the second command if the first fails. Kevin -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message