39
submitted 2 days ago* (last edited 2 days ago) by sem@piefed.blahaj.zone to c/linux@programming.dev

I don't want the system to shutdown in the middle of the upgrade, but I've already started the upgrade in the GUI.

Is there a better way, maybe involving the apt lock?

EDIT: Thank you for all the helpful suggestions. Hopefully this helps the next person. My upgrade actually finished on its own while I was posting. ๐Ÿ˜‚

you are viewing a single comment's thread
view the rest of the comments
[-] SayJess 9 points 2 days ago* (last edited 2 days ago)

I was today years old when I learned that && on the command line is not just a after this do this shortcut, but rather how it is used literally everywhere else sort of thing. I am not a very bright knife in the shed.

[-] TwilightKiddy@programming.dev 9 points 2 days ago

after this do this

This would be ;, as in echo 'after this'; echo 'do this'.

[-] azimir@lemmy.ml 5 points 2 days ago

From the old world of UNIX: Using UNIX is always a series of small epiphanies. You will keep finding new options, tools, ideas,, and shell snippets that will continually expand your skills.

I've been using UNIX and then Linux since 1996. I find new little bits any time I go look. It's a lifetime of curiosity awaiting for you.

[-] azimir@lemmy.ml 2 points 1 day ago

My daily epiphany: the commenter here who showed me:

^z fg; command

I didn't know you could append a command to fg and essentially chain to an already built process! Awesome.

[-] jtrek@startrek.website 6 points 2 days ago

|| has a similar "oh that's how it works in other places" behavior. I didn't realize that for a while.

[-] SayJess 7 points 2 days ago

Yeah I feel pretty silly. I have a good amount of programming experience too, which certainly amplifies the whoosh lol

this post was submitted on 04 Jul 2026
39 points (100.0% liked)

Linux

14208 readers
278 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS