Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #36059

Re: Running consecutive

From Aragorn <telcontar@duck.com>
Newsgroups comp.os.linux.misc
Subject Re: Running consecutive
Date 2022-11-11 16:43 +0100
Organization A noiseless patient Strider
Message-ID <20221111164357.6274bf67@nx-74205> (permalink)
References <tklq3v$sif5$1@dont-email.me>

Show all headers | View raw


On 11.11.2022 at 16:35, db scribbled:

> I am preparing for an upgrade of my Kubuntu system, and have to
> do a lot of synching. Some of these will take a longish time, so
> I want to do them using a script.  However, I find that the lines
> in the script get run simultaneously, rather than one after the other.
> How do I get them to run one after the other?


     command1 && command2 && command3 ...


Do however note that if one of the commands in the chain fails, then
the commands following after the failing one won't get executed.  

"&&" is a logical AND operand in shell vernacular, so that makes the
execution of the commands in the list conditional.

-- 
With respect,
= Aragorn =

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Running consecutive db <dieterhansbritz@gmail.com> - 2022-11-11 16:35 +0100
  Re: Running consecutive Aragorn <telcontar@duck.com> - 2022-11-11 16:43 +0100
  Re: Running consecutive Richard Kettlewell <invalid@invalid.invalid> - 2022-11-11 17:49 +0000
    Re: Running consecutive db <dieterhansbritz@gmail.com> - 2022-11-13 16:17 +0100
      Re: Running consecutive Richard Kettlewell <invalid@invalid.invalid> - 2022-11-13 15:44 +0000
      Re: Running consecutive Aragorn <telcontar@duck.com> - 2022-11-13 16:56 +0100
        Re: Running consecutive Richard Kettlewell <invalid@invalid.invalid> - 2022-11-14 09:00 +0000
          Re: Running consecutive Aragorn <telcontar@duck.com> - 2022-11-14 14:57 +0100
      Re: Running consecutive Rich <rich@example.invalid> - 2022-11-13 20:40 +0000
        Re: Running consecutive db <dieterhansbritz@gmail.com> - 2022-11-14 11:07 +0100
      Re: Running consecutive The Natural Philosopher <tnp@invalid.invalid> - 2022-11-14 13:48 +0000
  Re: Running consecutive "Carlos E.R." <robin_listas@es.invalid> - 2022-11-11 21:10 +0100
  Re: Running consecutive Pancho <Pancho.Jones@proton.me> - 2022-11-11 21:16 +0000

csiph-web