http://unix.stackexchange.com/questions/34489/how-to-disable-shutdown-so-that-an-important-process-cannot-be-interrupted 方法: ~/.bashrc 中添加別名 alias shutdown="echo 'shutdown disabled'"