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