Forrest logo
back to the rtcwake tool

rtcwake:tldr:ca2de

rtcwake: Disable a previously set alarm.
$ sudo rtcwake -m disable
try on your machine

The command "sudo rtcwake -m disable" is used to disable the auto wake-up feature of the Real-Time Clock (RTC) on a Linux system using the 'rtcwake' utility.

Here's a breakdown of the command:

  • "sudo" is a command that allows a user with administrative privileges (usually the root user) to execute a command as another user, typically the superuser (root).

  • "rtcwake" is a utility in Linux that allows you to configure the computer's Real-Time Clock (RTC) to automatically wake the system from a low power state (such as suspend or hibernate) at a specific time.

  • "-m disable" is an option passed to the rtcwake command. "-m" specifies the sleep mode to use, and "disable" is the parameter indicating that the auto wake-up functionality should be disabled. This means that the RTC will not wake up the system automatically.

In summary, executing "sudo rtcwake -m disable" will disable the automatic wake-up feature of the RTC on a Linux system, preventing it from waking the computer from a low power state at a specified time.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the rtcwake tool