linux下FTP服务启动与关闭命令

  • 查看FTP服务是否运行中:service vsftpd status
  • 查看本地是否含有包含ftp的进程开启:ps -ef | grep ftp
  • FTP设置开机自动运行:chkconfig vsftpd on
  • 关闭FTP开机自动运行:chkconfig vsftpd off
  • 查看所有服务开启自动运行的情况:chkconfig --list
  • 启动FTP服务:service vsftpd start
  • 停止FTP服务:service vsftpd stop
  • 重启FTP服务:service vsftpd restart


 
 
 
 
 
 
 
 
service vsftpd status
是红帽服务启动(start) 停止(stop) 状态(status) 的操作方式。
如果不是红帽可能无法执行。

 
 


猜你喜欢

转载自blog.csdn.net/qq_34495557/article/details/78327127