经过 Terminal 阻止 Mac 进入睡眠状态

在 Terminal 中输入如下命令,并在 -t 后加入具体防止休眠的时间(单位为秒):code

caffeinate -t 3600

这样就可让 Mac 一小时内不进入睡眠状态了。时间

相关文章
相关标签/搜索