In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you the use of linux's ftpshut command to shut down the FTP server at a specified time, I believe most people do not know much about it, so share this article for you to learn. I hope you will learn a lot after reading this article. Let's go and learn the method together.
The ftpshut command provides the system administrator with the function of shutting down the FTP server at a set time and notifying the user with a warning message before shutting down.
If the shutdown time is set to "none", the server will be shut down immediately. If the setting is "+ 30", it means that the server shuts down after 30 minutes. And so on, assuming that the format of "1130" means that the server will shut down at 11:30 every day, with a 24-hour format. After the FTP server is shut down, a file named shutmsg is generated in the / etc directory, which can be deleted to enable the FTP server again.
Syntax format: ftpshut [parameters]
Common parameters:
-d cut off all FTP connection time-l time to stop accepting FTP login
Reference example
Shut down the FTP server at 11:00 in the evening, and deny new FTP logins 5 minutes before shutdown, close all ftp links in the first 3 minutes, and give a warning:
[root@linuxcool ~] # ftpshut-d 3-1 5 1100 "Server will be shutdown at 23:00:00" above are all the contents of shutting down the FTP server at a specified time using linux's ftpshut command. Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more 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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.