18.01.2020 Views

Working with Linux

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Now we see that the mouse pointer has changed to an x.

Be careful not to click on anything. Hit Alt + Tab to bring back the gedit window, and then click it.

The xkill command will find and kill the process of the window we just clicked on.

This trick can be used on any type of window; it's like shooting your windows!

OK, but what happens if the whole system becomes unresponsive and you can't type anything in the

command line? That might happen, especially on older systems. You can hit the on/off button on your

laptop or server, but in some circumstances, this is not possible.

What we are going to show you now is an old trick kept secret by Linux gurus for a very long time;

nobody really talks about it because it's so powerful that it can do damage in the hands of the wrong

people. Please make sure you save all your work and close all programs before trying the fatal

keyboard shortcut that will force a restart of your Linux system. Hold down Alt + PrtScrn and at the

same time type the following:

reisub

If you've tried it, it means that your computer restarted and you had to come back to this course and

continue where you left off.

Practice this command with great caution and please don't use it to restart your computer on a regular

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!