We will certainly need to reboot the system when we operate the Linux vps/server, or shut down the system and other operations. Some users are directly to the VPS host business panel operation, which makes it more troublesome, and some panels are not easy to use easily lead to the panel card dead. So the best way is through the SSH command operation, the old Chiang here to share 2 commands, reboot and
Tags: users user sbin 4.0 xfce4 instruction method Otto LinuWhen we operate the Linux v/server, there is a need to restart the system, or shut down the system. Some users are directly to the VPS hosting business panel operation, which is more troublesome, and some panels are not easy to use easy to cause the panel card dead. So the best way is to use SSH command operation, Lao Jiang here to share 2 commands, reboot and
Some common shutdown/restart commands in linux include shutdown, halt, reboot, and init.The system can be restarted, but the internal working process of each command is different.We hope you can use various shutdown commands more flexibly.1. shutdownThe shutdown command safe
: Single User2: not fully multi-user, without NFS service (file sharing service)3: Full Multi-user4: For assigning5: Graphical interface6: Reboot: So init 6 is rebootView the current operating level of the system with the RunLevel command (for example, Show N 2)n indicates the level before entering this level, n refers to the empty level, so before entering this level is the empty level, which means I start on the level 22 indicates that the current l
that has been in the line. Time : This is the parameter that must be added! Specify the time of the system! The time of the case will be stated below. Example:/sbin/shutdown-h ' I'll shutdown after ten mins '# Tell everyone that this machine will be in a very close-up! And will be displayed in front of the current login screen! # What are the parameters? Here's a few!
In addition, it is impor
Linux basics-shutdown and restart commands such as shutdown and reboot, shutdownrebootI. Functions of the shutdown and restart command
I believe that people who have been in touch with computers, especially for windows systems, will feel a little stuck if they have been using it for a long time without restarting. Howe
Tags: save inf non-root halt command win Restart technology root user appearsfirst, the role of shutdown restart command Believe that for people who have access to the computer, especially for Windows systems, if the long-time use without a restart, there will be a little bit of the feeling of lag. But when the whole system is restarted, it feels like it's gone again, and the Windows system resets the entire service after rebooting, just like resetti
Shutdown.exe-a Cancel shutdownShutdown.exe-s shutdownShutdown.exe-f Force shutdown ApplicationSHUTDOWN.EXE-M \ computer Name control remote computerShutdown.exe-i Displays the graphical user interface, but must be the first parameter of the shutdownShutdown.exe-l Log off the current userShutdown.exe-r Shutdown and rebootShutdown.exe-t Time Set shutdown countdown
Common shutdown/Restart commands under Linux typically include:Shutdown, reboot, Halt, Poweroff and so on, of course we can use Init run level RunLevel 0 that is halt to shut down, or use init run level RunLevel 6 that is reboot to perform a reboot.Of course, there are some subtle differences in the way these shutdowns or restarts are made.First, make clear that
Linux shutdown, reboot, halt, init, and haltinit
Command Overview
Shutdown, poweroff, reboot, halt, and init can all be shut down for general usage.
/Sbin/halt [-n] [-w] [-d] [-f] [-I] [-p] [-h]/Sbin/reboot [-n] [-w] [-d] [-f] [-I]/Sbin/poweroff [-n] [-w] [-d] [-f] [-I] [-h]
Some common shutdown/restart commands under Linux.
1.shutdown
The shutdown command shuts down the system securely.It is very dangerous for some users to turn off Linux by simply breaking the power off. Because Linux differs from windows in that it runs many processes in the background, forcing a shutdown can cause data
instructions are used: for example shutdown and reboot.
Instructions for synchronizing data to the hard disk: Sync
Customary shutdown instruction: shutdown
Restart, shutdown: Reboot,halt,poweroff
Linux-logout-shutdown-reboot-Linux general technology-Linux technology and application information. For details, refer to the following section. 1. log out, shut down, and restart
Log out of the system's logout command
1. Logout is a relative logon operation. After logging on to the system, if you want to leave the system, you only need to issue the logout command directly:
[Root @ localhost root] # logo
shut down at today. If this command is executed only at, it will take several days to shut down [[email protected] ~] # Shutdown-H + 10 system: automatically shut down the host after a very long time [email protected] ~] # Shutdown-R now: the system immediately started again [[email protected] ~] # Shutdown-R + 30 'the system will
program, requiring it to change the runlevel. Runlevel 0 is used to stop (halt),runlevel 6 is used to reactivate the (reboot) system, and Runlevel 1 is used to get the system into the state of the management work can be done, this is a preset, assuming that there is no-H and no-R parameter to shutdown. To find out what you did during the (halt) or reboot (
One, logout, shutdown, restart
Unregister the system's logout command
1,logout Logout is the relative operation of landing, after the landing system, to leave the system, the user simply issued the Logout command can be:
[Root@localhost Root] #logout
Red Hat linuxrelease 9 (shike)
Kernel 2.4.20.8 on a i686
Login:← back to the landing screen
2, shutdown or reboot
Shutdown, halt, and reboot are actually sending signals to initProgramTo change the runlevel ..Runlevel 0 is used to stop (halt), and halt is used to call shutdown-HRunlevel 6 is used to reactivate the [reboot] system.Runlevel 1 is used to bring the system into the state where management work can be performed.Init defi
Introduction to CommandsShutdown,poweroff,reboot,halt,init can be shut down for general use./sbin/halt [-N] [-W] [-d] [-f] [-i] [-p] [-h]/sbin/reboot [-N] [-W] [-d] [-f] [-I.]/sbin/poweroff [-N] [-W] [-d] [-f] [-i] [-h][email protected] ~]$ reboot--hUsage:reboot [-N] [-W] [-d] [-f] [-h] [-I.]-N: not synchronized before stopping the system-W: Write only wtmp
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.