TropicalDingdong@lemmy.world to linuxmemes@lemmy.world · 22 hours agoi guess its about time..lemmy.worldimagemessage-square35fedilinkarrow-up1288
arrow-up1288imagei guess its about time..lemmy.worldTropicalDingdong@lemmy.world to linuxmemes@lemmy.world · 22 hours agomessage-square35fedilink
minus-squareslazer2au@lemmy.worldlinkfedilinkEnglisharrow-up19·22 hours agoExecute order Sudo apt update && sudo apt upgrade -y && sudo apt auto remove -y Needs a more concise order name…
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up2·2 hours agoThere’s a flag for upgrade that will do an update as well. I don’t have it memorized, but you don’t need to “update and upgrade” anymore.
minus-squareSkullgrid@lemmy.worldlinkfedilinkarrow-up10·edit-216 hours agocd ~ nano .bash_aliases At the end of the file alias executeOrder="sudo apt update && sudo apt upgrade -y && sudo apt auto remove -y" Ctrl+X Y Enter. Source .bash_aliases There. Now it’s executeOrder Edit : .bash_alias(es?) should be in the home folder. Switch to it with cd ~
minus-squareloweffortname@lemmy.dbzer0.comlinkfedilinkarrow-up4·edit-220 hours agoTiny nits: apt dist-upgrade is more pitentially destructive. It’s apt autoremove (no spaces) Otherwise, I do this evwry morning on my work machine. It’s very satisfying to have updates.
Execute order
Sudo apt update && sudo apt upgrade -y && sudo apt auto remove -yNeeds a more concise order name…
There’s a flag for upgrade that will do an update as well. I don’t have it memorized, but you don’t need to “update and upgrade” anymore.
At the end of the file
Ctrl+X
Y Enter.
There. Now it’s executeOrder
Edit : .bash_alias(es?) should be in the home folder. Switch to it with cd ~
Tiny nits:
apt dist-upgradeis more pitentially destructive.apt autoremove(no spaces)Otherwise, I do this evwry morning on my work machine. It’s very satisfying to have updates.