Date: Thu, 25 Jul 2002 22:45:59 +0100 From: Kevin Golding <kevin@caomhin.demon.co.uk> To: Peter Leftwich <Hostmaster@Video2Video.Com> Cc: FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org> Subject: Re: Can you relate to my Tour of Despair? Message-ID: <ErFV5EBXGHQ9Ew%2B%2B@caomhin.demon.co.uk> In-Reply-To: <20020725163009.O58623-100000@earl-grey.cloud9.net> References: <20020725085104.GK26176@freepuppy.bellavista.cz> <20020725163009.O58623-100000@earl-grey.cloud9.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ErFV5EBXGHQ9Ew%2B%2B>