this post was submitted on 08 Nov 2023
44 points (90.7% liked)
Linux
48003 readers
883 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Tip for when you need to use the power button and do a force shutdown. Try the following first Alt+SysRq r>e>i>s>u>b
https://blog.kember.net/posts/2008-04-reisub-the-gentle-linux-restart/
Raising Elephants Is So Utterly Boring
I always preferred BUSIER backwards. It's shorter and alliterative., but whatever helps you remember.
Annoyingly sysrq is disabled on a lot of distributions by default now, so you often have to manually enable it for this to work
It is? I never noticed it being disabled honestly.
At least arch and opensuse do, I haven't used anything else much lately
Those are exactly the ones i never noticed sysrq being disabled. I use the resisub quite often on tumblweed. and used to on arch.
Seems correct: https://wiki.archlinux.org/title/Keyboard_shortcuts#Kernel_(SysRq)
SystemD defined default it looks like.
I've always just dropped down into a different virtual terminal with CTRL+ALT+F#, killed the bad process and/or just rebooted from there. Is that not a thing anymore? I haven't had to do it in so long because of improved stability and not using the DE on my server much, so maybe I'm out of the loop.
Sometimes it's not possible if everything crashed.
That's very useful, I'll try it next time, thanks for the tip!