I always just go to the physical power button if it doesn't work... Makes me feel like a bit of a wizard, knowing shortcuts and other "secret" functions like this
I always just go to the physical power button if it doesn't work... Makes me feel like a bit of a wizard, knowing shortcuts and other "secret" functions like this
It's a standard. It's a part of the ACPI protocol. Best reference I could find quickly is this (fuck me has google search ever gone downhill): Intel® 500 Series Chipset Family On-Package Platform...
It's a standard. It's a part of the ACPI protocol. Best reference I could find quickly is this (fuck me has google search ever gone downhill):
(A) 4 second press of the Power Button is defined as an unconditional power down,
For those interested, the linux kernel has a similar thing, it’s the cryptic alt+printscr+REISUB, that will do emergency flushes to devices, unmounts, and finally restart.
For those interested, the linux kernel has a similar thing, it’s the cryptic alt+printscr+REISUB, that will do emergency flushes to devices, unmounts, and finally restart.
The mnemonic Raising elephants is so utterly boring is the only reason I was able to remember this since I've only ever had to use it a handful of times.
The mnemonic Raising elephants is so utterly boring is the only reason I was able to remember this since I've only ever had to use it a handful of times.
This can also be tickled via /proc/sysrq-trigger if you still have a shell. I've used this when working on remote systems that I know will hang on shutdown (bad drivers, already hung processes,...
This can also be tickled via /proc/sysrq-trigger if you still have a shell. I've used this when working on remote systems that I know will hang on shutdown (bad drivers, already hung processes, etc). Example echo b | sudo tee /proc/sysrq-trigger.
IIRC many distros keep this feature disabled nowadays. Or maybe I'm just confusing the fact that a lot of keyboards tend to omit the print screen button.
IIRC many distros keep this feature disabled nowadays.
Or maybe I'm just confusing the fact that a lot of keyboards tend to omit the print screen button.
Both are somewhat true. It is often disabled as it is a security risk (which makes sense for servers — you don’t want someone with minor hardware access to be able to bring it down), but this may...
Both are somewhat true. It is often disabled as it is a security risk (which makes sense for servers — you don’t want someone with minor hardware access to be able to bring it down), but this may not make that much sense on a laptop/desktop. And sometimes it is just that Fn key has to be also pressed in some weird combination.
Also, unfortunately on systems with low RAM, linux still tends to get into swap freezes where this is the only option (my laptop has 8 GBs and that’s low nowadays :( ).
My favourite is through the start menu right-click menu since it has a pretty easy keyboard shortcut: Win+X, U, U This is great if for some reason you can't see the screen, you have no monitor, a...
My favourite is through the start menu right-click menu since it has a pretty easy keyboard shortcut: Win+X, U, U
This is great if for some reason you can't see the screen, you have no monitor, a broken monitor, crashed video driver, etc.
Modern NTFS is a journaled filesystem, with atomic writes. That means it keeps a record of everything it is doing. It logs every write it's trying to do, and if power cuts out unexpectedly and the...
Modern NTFS is a journaled filesystem, with atomic writes. That means it keeps a record of everything it is doing. It logs every write it's trying to do, and if power cuts out unexpectedly and the file only got half-written, it can "replay the journal" and write that data again once it reboots. It took a long time for NTFS to support this, while I think EXT3, XFS, BTRFS, and a bunch of other unix/linux filesystems supported this since a million years ago.
Parking the HDD heads was in case you wanted to transport your computer or expected it'd experience vibrations causing it to lose calibration or crash the heads into the platter surface. It wasn't strictly necessary when shutting down normally, but a lot of people put it into their batch files anyway to be safe.
I always just go to the physical power button if it doesn't work... Makes me feel like a bit of a wizard, knowing shortcuts and other "secret" functions like this
I usually press the power button for 8 seconds, works on laptops and desktops and custom builts. Is that a coincidence or a standard?
It's a standard. It's a part of the ACPI protocol. Best reference I could find quickly is this (fuck me has google search ever gone downhill):
Cheers fella!
Yep, power button until it behaves 😄
shh, shh .. you sleep now
For those interested, the linux kernel has a similar thing, it’s the cryptic alt+printscr+REISUB, that will do emergency flushes to devices, unmounts, and finally restart.
The mnemonic Raising elephants is so utterly boring is the only reason I was able to remember this since I've only ever had to use it a handful of times.
I've heard it as "Restart Even If Screwed Up Bad," but yours is a lot more fun
This can also be tickled via /proc/sysrq-trigger if you still have a shell. I've used this when working on remote systems that I know will hang on shutdown (bad drivers, already hung processes, etc). Example
echo b | sudo tee /proc/sysrq-trigger
.IIRC many distros keep this feature disabled nowadays.
Or maybe I'm just confusing the fact that a lot of keyboards tend to omit the print screen button.
Both are somewhat true. It is often disabled as it is a security risk (which makes sense for servers — you don’t want someone with minor hardware access to be able to bring it down), but this may not make that much sense on a laptop/desktop. And sometimes it is just that Fn key has to be also pressed in some weird combination.
Also, unfortunately on systems with low RAM, linux still tends to get into swap freezes where this is the only option (my laptop has 8 GBs and that’s low nowadays :( ).
Remember the DOS days where you "shut down" by simply cutting the power? And "uninstalled" programs simply by deleting their folder. Good times!
I didnt see mention of good 'ol alt+F4 in there. If you're on the desktop it will bring up shutdown options.
My favourite is through the start menu right-click menu since it has a pretty easy keyboard shortcut:
Win+X
,U
,U
This is great if for some reason you can't see the screen, you have no monitor, a broken monitor, crashed video driver, etc.
Modern NTFS is a journaled filesystem, with atomic writes. That means it keeps a record of everything it is doing. It logs every write it's trying to do, and if power cuts out unexpectedly and the file only got half-written, it can "replay the journal" and write that data again once it reboots. It took a long time for NTFS to support this, while I think EXT3, XFS, BTRFS, and a bunch of other unix/linux filesystems supported this since a million years ago.
Parking the HDD heads was in case you wanted to transport your computer or expected it'd experience vibrations causing it to lose calibration or crash the heads into the platter surface. It wasn't strictly necessary when shutting down normally, but a lot of people put it into their batch files anyway to be safe.
The orange "It's now safe to turn off your computer" is like an instant throwback for people over 30.
I have such nostalgia for that screen <3
Most computers do, it's located on the exterior of the computer tower.