24

Im on a smartphone with alpine linux & KDE desktop, running ssh in, and for some reason no one thought to put a shutdown aplet in a logical place, and even the shutdown utility is not present.

 $ whereis shutdown
shutdown:

nothing, ooh but I do have halt, but no man pages. well anyway, is the shutdown command provided in a package,available in source code that i can compile, or just an alias to the halt command?

j0h
  • 3,467
  • 8
  • 27
  • 36

1 Answers1

32

You can use poweroff

Alpine Linux init system has been described in its docs

Alpine Linux Init System

Equivalent to shutdown now -r from traditional GNU/Linux systems: reboot

Equivalent to shutdown now -H from traditional GNU/Linux systems: halt

Equivalent to shutdown now -P from traditional GNU/Linux systems: poweroff

filotti
  • 3
  • 2
binarysta
  • 2,912
  • 10
  • 14