Files
tldr/pages.zh/linux/ctrlaltdel.md

16 lines
374 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ctrlaltdel
> 控制按下 CTRL+ALT+DEL 时发生的事情的工具。
> 更多信息:<https://manned.org/ctrlaltdel>。
- 获取当前设置:
`ctrlaltdel`
- 设置 CTRL+ALT+DEL 立即重启,无需任何准备:
`sudo ctrlaltdel hard`
- 设置 CTRL+ALT+DEL 正常重启,给进程一个先退出的机会(向 PID1 发送 SIGINT
`sudo ctrlaltdel soft`