Skip to main content
  1. Archives/

Fix a Frozen System with the Magic SysRq Keys

··226 words·2 mins·
News Linux

You finally got your Linux environment to crash. Ctrl+Alt+Backspace does nothing, nor do the F-keys. You know you shouldn’t have installed that bad driver, but you did it anyway.

So you reach for the power button.

Stop.

Mashing in the power button to reboot could cause a problem if your hard drive is still being written to, and usually causes more problems than it solves. The Linux kernel includes a secret method of restarting your PC should it ever stop doing its job.

  1. Hold down the Alt and SysRq (Print Screen) keys.
  2. While holding those down, type the following in order. Nothing will appear to happen until the last letter is pressed: REISUB
  3. Watch your computer reboot magically.

What the individual keys do in that sequence are not as important as what it does as a whole: stops all programs, unmounts all drives, and reboots. A lot safer than just cutting the power.

Here it is again: REISUB. Remember that, as it will save you a lot of time when you are configuring a system and something gets messed up. Need a mnemonic? Try Raising Elephants Is So Utterly Boring.

As an aside, don’t try this if you just want to reboot. A normal reboot, if it can be done, should always be used instead of the REISUB keys.

R-E-I-S-U-B.

Source & Author: Jacob from FOSSwire

Sathyajith Bhat
Author
Sathyajith Bhat
Author, AWS Container Hero and DevOps Specialist.

Related

I’ve shifted!
··116 words·1 min
News Linux WordPress
I’ve shifted!This time, not just physically but on the web as well.First, physically(literally, and I’m using too many rhyming words). As a trainee in 3i-Infotech I’ve shifted from coastal town of Mangalore to the metro, Chennai, which is again a coastal city, just on the the eastern side of India. On the web, I’ve shifted from WordPress hosted blog to my very own domain(yippee!!!) hosted on ExperTrio (thanks, Preshit!). And for the moment, my Linux experimentations have ceased due to lack of a PC/laptop with me.
Making Dolphin the Default File Manager
··197 words·1 min
News Dolphin
Dolphin’s fast loading times and clean interface made me consider to have a second look at Dolphin. So here’s a way to make Dolphin the default file manager. If you haven’t installed Dolphin yet, install it via apt-get or Adept. More info about that in my previous post. Then, Click on K Menu -> Run Command and type ‘kcontrol’ (without the quotes, of course). Then Click on KDE Components -> File Associations.
Formatting USB pen drive in Linux using Terminal
··251 words·2 mins
Tips & How-To's Commands Filesystem Linux
Insert your USB pen drive. Let it get detected and mounted. Open Terminal. Type The Following commands dmesg |tail -> here the ‘|’ key is the pipe, ie, the key before the backspace key(the upper one, so press shift) You’ll get something like sathya@shaman:~$ dmesg |tail [ 9921.681164] sda: Write Protect is off [ 9921.681174] sda: Mode Sense: 23 00 00 00 [ 9921.681178] sda: assuming drive cache: write through