how to shutdown ubuntu in command line code example Example: how to shut down ubuntu server command sudo poweroff