Which of the following commands shows all active systemd timers?
Which of the following commands shows all active systemd timers?
The correct command to show all active systemd timers is 'systemctl list-timers'. This command lists all the timers configured on the system, displaying their current state and the next time they are set to trigger.
D. If no patterns are listed, all active systemd timers will be shown
the answer systemctl list-timers is correct
D is correct "Finally, if you want to view the list of active timers sorted by the time they elapse next, you can use the systemctl list-timers command. You can add the --all option to see the inactive timer units as well." source: LPIC-1 (102) (Version 5.0), page 207