Home > php教程 > PHP开发 > body text

Linux reboot command

高洛峰
Release: 2016-12-13 11:43:13
Original
1619 people have browsed it

Linux reboot command is used to restart the computer.

If the runlevel of the system is 0 or 6, reboot, otherwise use shutdown command (plus -r parameter) to replace

Syntax

reboot [-n] [-w] [-d] [-f] [-i]

Parameters:

-n: Do not write the memory data back to the hard disk before rebooting.

-w: It does not actually reboot, but just writes the records to /var/ log/wtmp file

-d: Do not write records to the /var/log/wtmp file (-n parameter includes -d)

-f: Force restart without calling the shutdown command

- i: Stop all network-related devices before rebooting

Instance

Restart

# reboot


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template