halt
1. Function
The halt command is used to shut down the system and its usage rights are superusers.
2. Format
halt [-n] [-w] [-d] [-f] [-i] [-p]
3. Main parameters Description
-n: Prevents sync system calls. It is used after patching the root partition with fsck to prevent the kernel from overwriting the patched superblock with the old version of the superblock.
-w: It's not really a reboot or shutdown, just write a wtmp (/var/log/wtmp) record.
-f: Did not call shutdown, but forced shutdown or restart.
-i: Turn off all network interfaces before shutting down (or rebooting).
-f: Force shutdown, do not call shutdown command.
-p: When the power is turned off, the power is turned off.
-d: Shut down the system, but leave no records.
4. Command Description
halt is to call shutdown -h.halt execution, kill the application process, execute sync (must write the data stored in the buffer to the hard disk) system call After the file system write operation is completed, the kernel will be stopped. If the system's run level is 0 or 6, shut down the system; otherwise, replace it with the shutdown command (plus the -h parameter).
Lab environment: Under Vbox, Rehat5 virtual machine Using samba server Purpose: Upload file to serv
One User Profile 1 User Information File /etc/passwd Lets open this file to see There
We all know that the Linux rm command can delete files, but if you want to delete the directory, you
Install JDK in fact only need to get two problems, the installation directory and configuration file
Ubuntu configuration apache2.4 speed limit function
Introduction to vim installation and basic configuration under Ubuntu
Ubuntu13.04 sets static ip (whether notebook, desktop, virtual machine)
Linux Vi editor code highlighting and permanent display line number scheme
How to view logs in Linux system (common commands)
Linux no password ssh login (commonly known as open)
Linux ls, ls -l, ls -l, ll command
Nginx limits the number of concurrent connections for a single IP
U disk hot swap can also let you no longer lose data
Three-click keystrokes can make Windows Vista and XP blue screen
Windows XP installation startup failure solution (2)
Windows system keyword search also has a net of fish
How does Win10 put my computer on the desktop? Win10 desktop shows my computer method diagram
WinXP system browser can not open how to solve?
Share how to compile passwords that are not easy to forget and are not easy to crack.