how to shutdown computer from terminal code example Example: shut down computer in terminal linux sudo poweroff