how to shut down via terminal ubuntu code example Example: how to shut down ubuntu server command sudo poweroff