linux系统重启命令英文单词
-
The command to restart a Linux system is “reboot”.
2年前 -
The English word for the Linux system restart command is “reboot”.
2年前 -
The Linux system provides several commands to restart or reboot the system. Here are some commonly used commands:
1. shutdown: The shutdown command allows you to schedule a system shutdown or restart. The syntax is as follows:
“`
shutdown [options] time [warning_message]
“`Options:
-r : Reboot the system after shutdown.
-h : Halt the system or power off after shutdown.Example: To restart the system immediately, use the following command:
“`
shutdown -r now
“`2. reboot: The reboot command is used to reboot the system immediately. The syntax is simple:
“`
reboot
“`3. init: The init command can be used to change the system runlevel, which can initiate a restart. Runlevels determine the services and processes that are started when the system boots up. The syntax is as follows:
“`
init [runlevel]
“`Example: To reboot the system, you can use the following command:
“`
init 6
“`4. systemctl: This command is used in systems running systemd, which is the init system used by many Linux distributions. The systemctl command provides various options to manage system services, including rebooting the system. The syntax is as follows:
“`
systemctl reboot
“`5. shutdown -r now: This command is a combination of the shutdown and reboot commands, which can be used to restart the system immediately.
“`
shutdown -r now
“`6. ctrl + alt + del: In most Linux distributions, you can also use the “ctrl + alt + del” keyboard shortcut to trigger a system restart.
It is important to note that when rebooting a Linux system, any unsaved data or open files may be lost. Therefore, it is recommended to save all work before performing a system restart.
2年前