Show whether an alarm is set or not

rtcwake

  • Enter a system sleep state until specified wakeup time relative to your BIOS clock.
    More information: <https://manned.org/rtcwake>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

sudo rtcwake -m show -v

click the source code to copy install rtcwake on any operating system with command-not-found.com