IO 😇@lemmy.blahaj.zone to linuxmemes@lemmy.worldEnglish · 3 months agoHighlight of my Morninglemmy.blahaj.zoneimagemessage-square165linkfedilinkarrow-up1740arrow-down141
arrow-up1699arrow-down1imageHighlight of my Morninglemmy.blahaj.zoneIO 😇@lemmy.blahaj.zone to linuxmemes@lemmy.worldEnglish · 3 months agomessage-square165linkfedilink
minus-squareMsFlammkuchen@lemmy.blahaj.zonelinkfedilinkarrow-up18·3 months ago&& executes the second command, if the command before was successful, || executes the second command if the first one was unsuccessful and ; executes the second command regardless of success.
minus-squaremyotheraccount@lemmy.worldlinkfedilinkarrow-up6·3 months agoThese are much more useful than the :() ::& ;: operator
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up3·3 months agoExpanded it’s more clear what’s going on. bomb() { bomb | bomb & } bomb
minus-squareJohnmannesca@lemmy.worldlinkfedilinkarrow-up1·3 months agoTSA would like to know your location
minus-squareCevilia (she/they/…)@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up4·3 months agoI didn’t know any of this, thank you both :)
&&executes the second command, if the command before was successful,||executes the second command if the first one was unsuccessful and;executes the second command regardless of success.These are much more useful than the :() :;: operator
Expanded it’s more clear what’s going on.
bomb() { bomb | bomb & } bombTSA would like to know your location
I didn’t know any of this, thank you both :)