Latest web development tutorials

Linux ftpshut command

Linux command Daquan Linux command Daquan

Linux ftpshut command at a specified time shut down FTP server.

This instruction provides the system administrator to set a time disable the FTP server, and can send warning messages to notify the user before closing. After closing time, if set to "none", it will immediately shut down the server. If the "+30" way to set up means that the server shut down after 30 minutes. And so on, it is assumed "1130" format represents the server will be closed daily 11:30 time format 24-hour clock. After the FTP server is shut down in the / etc directory will generate a name for shutmsg file, you can re-start after the FTP server function to delete it.

grammar

ftpshut [-d<分钟>][-l<分钟>][关闭时间]["警告信息"]

Parameters:

  • -d <minute> FTP connections cut off all the time.
  • -l <minutes> to stop accepting FTP login time.

Examples

In the evening closes at 11:00 FTP server, and five minutes to reject the new FTP login before closing, three minutes before the close link all ftp, and a warning message, use the following command:

ftpshut-d 3 -1 5 1100 "Server will be shutdown at 23:00:00" 

Linux command Daquan Linux command Daquan