安全关机：sudo shutdown -h nowsudo haltsudo poweroffsudo init 0安全重启：sudo rebootshutdown -r now