In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces what the Linux restart command is, the article is very detailed, has a certain reference value, interested friends must read it!
Linux is a free-to-use and free-spread Unix-like operating system. It is a multi-user, multi-task, multi-threaded and multi-CPU operating system based on POSIX and UNIX. It runs major UNIX tools, applications, and network protocols. It supports 32 bit and 64 bit hardware. Linux inherits the design idea of Unix with network as the core, and is a multi-user network operating system with stable performance.
Linux has five restart commands
1 、 shutdown
Shutdown is the most commonly used and secure shutdown and restart command. It calls fsck to check the disk before shutting down, where-h and-r are the most commonly used parameters:
-h: stop the system service and shut down-r: restart after stopping the system service
2 、 poweroff
Poweroff means shutdown immediately, which is equivalent to shutdown-h now and is not recommended in multi-user mode (Run Level 3).
3 、 init
Syntax: init (option) (parameter)-b: enter single-user mode without executing the relevant script;-s: switch to single-user mode. 0 downtime (never set initdefault to 0) 1 single user mode 2 multiuser, no NFS (similar to level 3, partial service stops) 3 full multiuser mode 4 does not use 5 x11 (Xwindow) 6 restart (never set initdefault to 6)
4 、 reboot
Reboot means to restart immediately, which is equivalent to shutdown-r now.
5 、 halt
Regardless of the current system condition, hardware shutdown is generally not recommended.
The above is all the contents of what the Linux restart command is, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.