Cwilliams@beehaw.org to Linux@lemmy.ml · edit-23 年前Anyone have a better solution? :Pbeehaw.orgimagemessage-square61linkfedilinkarrow-up1336arrow-down110
arrow-up1326arrow-down1imageAnyone have a better solution? :Pbeehaw.orgCwilliams@beehaw.org to Linux@lemmy.ml · edit-23 年前message-square61linkfedilink
minus-squareSentienttedlinkfedilinkarrow-up7arrow-down2·3 年前I am not the most experienced by any means, but wouldn’t it be better to run it with a “;” in the spot off all of the “&” so that way if one of the commands fail it doesn’t stop mid script?
minus-squareSkull giver@popplesburger.hilciferous.nllinkfedilinkarrow-up17arrow-down1·3 年前deleted by creator
minus-squareSentienttedlinkfedilinkarrow-up3arrow-down1·3 年前Yeah you are right. Thanks for the correction
minus-square𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.sociallinkfedilinkarrow-up7·3 年前And even then, don’t you want ||? You want to run the next one only if the previous one failed, right?
I am not the most experienced by any means, but wouldn’t it be better to run it with a “;” in the spot off all of the “&” so that way if one of the commands fail it doesn’t stop mid script?
deleted by creator
Yeah you are right. Thanks for the correction
And even then, don’t you want
||? You want to run the next one only if the previous one failed, right?