In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "the usage of Linux shutdown command". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn the usage of "Linux shutdown command".
1. The operation before shutdown (may not be carried out)
You can use the who command to see who is online on the system.
Use the netstat-a command to view the online status of the network
Use the ps-aux command to view the programs executed in the background.
Execute the sync command several times before shutting down: data is written to disk synchronously.
2. The commonly used shutdown command shutdown
Command format: shutdown [- t seconds] [- arkhncfF] time [warning message]
-t: add seconds after that. Http://www.bbqmw.net/qm_yeqm/ shuts down in a few seconds.
-K: it's not really turning off, it's just sending a warning message.
-r: restart after stopping the service of the system (commonly used)
-h: shut down immediately after stopping the service of the system (commonly used)
-n: turn off the computer directly with the function of shutdown without going through the init program
-f: force to skip the disk check of fsck after shutdown and power on
-F: force fsck disk check after the system is rebooted
-c: cancel the contents of the shutdown command that is already in progress
Example:
Shutdown-h shuts down after 10'10 minutes.
Shutdown-r now: restart now
Shutdown-k now 'this system will reboot': only a warning message is issued and the system will not shut down.
Thank you for your reading, the above is the content of "the usage of Linux shutdown command". After the study of this article, I believe you have a deeper understanding of the usage of Linux shutdown command, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.