Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the use of Linux's shutdown command

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "what is the use of Linux's shutdown command". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the use of Linux's shutdown command"?

Linux common commands the shutdown command can be used to perform a shutdown procedure and to send messages to all users' executing programs before shutting down, and shutdown can also be used to restart.

Syntax shutdown [- t seconds] [- rkhncfF] time [message] parameter description:

-t seconds: set the shutdown procedure after a few seconds.

K: it doesn't really turn off, it just sends warning messages to all users.

-r: turn it off and restart it.

-h: shut down the machine after shutdown.

-n: do not use the normal program to shut down, kill all the programs in progress by force and then shut down by yourself.

-C: cancel the shutdown that is already in progress.

-f: when shutting down, do not do fsck action (check the Linux file system).

-F: force the fsck action when shutting down.

Time: set the shutdown time.

Message: warning messages sent to all users.

Instance shuts down immediately

# shutdown-h now specifies to shut down after 10 minutes

# shutdown-h 10 restart the computer

# shutdown-r now Thank you for your reading. The above is the content of "what is the use of Linux's shutdown command". After the study of this article, I believe you have a deeper understanding of the use of Linux's 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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report