2
$\begingroup$

Here's a computer based riddle for all the linux geeks out there:

You just installed Ubuntu 20.04 on your shiny new laptop! The system boots you into your user and shows you the desktop. However, to your dismay, the drivers for your touchpad, USB ports, Bluetooth adapter and WiFi adapter were not installed. How would you shut this computer down?

Note: you may not access any other tools. The battery is not removable, and do you seriously think you can wait for 10 hours for the battery to run out?

Note that there are multiple solutions to this problem; the one that shuts the computer off in the safest way (least data loss) is the correct one. Also note all ACPI drivers are loaded and running well.

$\endgroup$
7
  • $\begingroup$ spoiler: i.stack.imgur.com/oA6UB.png $\endgroup$
    – msh210
    Aug 19, 2020 at 7:53
  • $\begingroup$ Was going to post this also haha $\endgroup$
    – Uba
    Aug 19, 2020 at 8:10
  • $\begingroup$ @msh210 touchpad and USB drivers are non-functional, so your mouse doesnt work. $\endgroup$ Aug 19, 2020 at 8:36
  • $\begingroup$ Is the question only about Ubuntu machines? Do answers for windows count? $\endgroup$ Aug 19, 2020 at 9:04
  • 1
    $\begingroup$ well, since your ethernet adapter works, you can just login remotely, ssh or something should work. would not even require hacking skills since you know your own password. then just send a shutdown command. $\endgroup$
    – user71043
    Aug 19, 2020 at 9:33

1 Answer 1

6
$\begingroup$

I am first time on this SE site, so maybe I don't follow rules here, but it is actually pretty easy to shut Linux computer down using only buttons/keyboard:

  1. While ACPI is on, holding down power button for 10 secs is enough to shut down

  2. Ctrl+Alt+F5 opens text console where you can press Ctrl+Alt+Del, which starts reboot cycle

  3. like previous, but log into console and run sudo halt on command line

  4. on graphical desktop shortcut Ctrl+Alt+T opens terminal, where you can give command sudo halt

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.