this post was submitted on 24 Jun 2026
348 points (99.7% liked)

linuxmemes

31860 readers
252 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 3 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] slazer2au@lemmy.world 26 points 2 days ago* (last edited 2 days ago) (1 children)

    I get that when I forget to update a Ubuntu VM for a week.

    [–] TropicalDingdong@lemmy.world 23 points 2 days ago (3 children)

    i'm like 80/20 if this is just going to straight bork the machine.

    [–] slazer2au@lemmy.world 19 points 2 days ago (1 children)
    [–] TropicalDingdong@lemmy.world 17 points 2 days ago (1 children)
    [–] slazer2au@lemmy.world 21 points 2 days ago (3 children)

    Execute order

    Sudo apt update && sudo apt upgrade -y && sudo apt auto remove -y
    

    Needs a more concise order name.......

    [–] JackbyDev@programming.dev 2 points 1 day ago

    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.

    [–] Skullgrid@lemmy.world 11 points 2 days ago* (last edited 2 days ago)
    cd ~
    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 ~

    [–] loweffortname@lemmy.dbzer0.com 6 points 2 days ago* (last edited 2 days ago)

    Tiny nits:

    1. apt dist-upgrade is more potentially destructive.
    2. It's apt autoremove (no spaces)

    Otherwise, I do this every morning on my work machine. It's very satisfying to have updates.

    [–] fuckwit_mcbumcrumble@lemmy.dbzer0.com 9 points 2 days ago (1 children)

    that's what backups are for.

    If it's a vm then snapshots are a godsend. Update didn't work? Revert.

    [–] Viceversa@lemmy.world 0 points 2 days ago (1 children)

    So much hassle just for routine update. Windows seems more stable in comparison.

    [–] 9bananas@feddit.org 1 points 1 day ago (1 children)

    windows just completely screwed up another update...it's like, what, the 5th or so this year alone? so almost every month or so they screw up real big.

    including some that bricked systems completely...

    at least atomic distros let you roll back without hassle...

    [–] Viceversa@lemmy.world 1 points 1 day ago (1 children)

    More like 2nd or 3rd. And with Linux it's a lottery every time.

    [–] floquant@lemmy.dbzer0.com 5 points 2 days ago

    You either test your backups or your lack of backups tests you