Cwilliams@beehaw.org to Linux@lemmy.ml · edit-21 year agoAnyone have a better solution? :Pbeehaw.orgimagemessage-square61fedilinkarrow-up1336arrow-down110
arrow-up1326arrow-down1imageAnyone have a better solution? :Pbeehaw.orgCwilliams@beehaw.org to Linux@lemmy.ml · edit-21 year agomessage-square61fedilink
minus-squareSentienttedlinkfedilinkarrow-up7arrow-down2·1 year agoI 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·1 year agodeleted by creator
minus-squareSentienttedlinkfedilinkarrow-up3arrow-down1·1 year agoYeah you are right. Thanks for the correction
minus-square𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.sociallinkfedilinkarrow-up7·1 year agoAnd 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?