linux command for shutdown server code example Example: shut down computer in terminal linux sudo poweroff