I configured hibernate function by the instruction here for Ubuntu 20.04.
Then I tried systemctl hibernate
and hibernate
commands and both are working fine.
By description from man
, help
and because of different locations of systemctl
and hibernate
(fromwhereis
, which
) it seems that this commands have different implementation.
What is the difference between them? Which one should be used?
Related question: Difference of pm-hibernate and systemctl hibernate