Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

shutdown

What happens when I press “Shut Down” from the GUI?

August 11, 2022 by Magenaut

I have been banging my head against this for quite a while now. It’s related to this question. I would like to find out exactly what happens when I choose to shut down my Linux box from the GUI. This seems to be poorly (if at all) documented.

Categories Q&A, Unix & Linux Tags debian, gnome, gnome3, polkit, shutdown Leave a comment

What is the difference between shutdown 18:00 and at 18:00 shutdown?

August 10, 2022 by Magenaut

at 18:00 shutdown now and shutdown 18:00 , are they starting the same service? Do they work the same way?

Categories Q&A, Unix & Linux Tags at, centos, shutdown Leave a comment

How to shutdown Linux at specific datetime from terminal?

August 10, 2022 by Magenaut

It seems I can shutdown using sudo shutdown by specifying a time or minutes.

Categories Q&A, Unix & Linux Tags linux, scheduling, shutdown Leave a comment

How to find out from the logs what caused system shutdown?

August 10, 2022 by Magenaut

E.g. I’m seeing this in /var/log/messages:

Categories Q&A, Unix & Linux Tags logs, shutdown Leave a comment

Execute a command before shutdown

August 9, 2022 by Magenaut

I want to execute a simple command just before the computer shuts down (timing is not essential).

Categories Q&A, Unix & Linux Tags linux-mint, shell-script, shutdown Leave a comment

Why does reboot and poweroff require root privileges?

August 9, 2022 by Magenaut

What security risk is posed by not requiring this to have root privileges? The GUI provides a way for any user to shut off or restart, so why do the terminal commands need to be run as root?

Categories Q&A, Unix & Linux Tags reboot, root, security, shutdown, sudo Leave a comment

How does the power button shut the computer down without root permission?

August 9, 2022 by Magenaut

When I try to shutdown the computer from a command line or terminal I must have root privileges:

Categories Q&A, Unix & Linux Tags gui, root, shutdown Leave a comment

Explanation of file – org.freedesktop.login1.policy

August 8, 2022 by Magenaut

I am using Ubuntu 16.04.

Categories Q&A, Unix & Linux Tags authorization, polkit, power-management, shutdown, systemd Leave a comment

How to run a script at shutdown on Debian 9 or Raspbian 8 (Jessie)

August 8, 2022 by Magenaut

I would like to execute this shell script at reboot and shut down:

Categories Q&A, Unix & Linux Tags shutdown, system-v, sysvinit Leave a comment

Is there a fastest way to shutdown the system?

August 7, 2022 by Magenaut

Or is shutdown -h now the fastest it can get?

Categories Q&A, Unix & Linux Tags performance, shutdown Leave a comment
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress