我在数据中心有一个 raspi 类型的设备,最近不小心将关闭命令粘贴到我屏幕上的错误终端中。有没有办法保留shutdown -r但删除#poweroff #shutdown -P -H选项?
shutdown -r
#poweroff
#shutdown -P -H
我想保持shutdown -r 指挥。如果我设法冻结系统,或者使用 ip 表规则将自己锁定,我喜欢在它上面放一个计时器。例子shutdown -r +10
shutdown -r +10
linux command-line-interface
command-line-interface ×1
linux ×1