← 返回命令列表

Linux command

systemctl-emergency 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

systemctl emergency

Example

systemctl emergency --no-block

说明

systemctl emergency transitions the system to emergency mode (`emergency.target`). Emergency mode mounts the root filesystem read-only and starts only essential services needed for system recovery. It provides a minimal environment for repairing a broken system. Emergency mode is more minimal than rescue mode and is typically used when rescue mode cannot start properly.

参数

--no-block
Return immediately without waiting for the operation to complete

FAQ

What is the systemctl-emergency command used for?

systemctl emergency transitions the system to emergency mode (`emergency.target`). Emergency mode mounts the root filesystem read-only and starts only essential services needed for system recovery. It provides a minimal environment for repairing a broken system. Emergency mode is more minimal than rescue mode and is typically used when rescue mode cannot start properly.

How do I run a basic systemctl-emergency example?

Run `systemctl emergency` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --no-block do in systemctl-emergency?

Return immediately without waiting for the operation to complete