How to start / stop / restart / enable / reload the VSFTPD server in Linux

Systemd is a new init system and system manager which was implemented/adapted into all the major Linux distributions over the traditional SysV init systems due to lots of issue/improvement has to be on sysVinit systems. All the services is available “/etc/init.d/. If you want to start, stop, restart, enable, reload & status of the service follow the below commands to do it. Either root or sudo Permission needed to run the below commands.

1) To Start VSFTPD server

Use the below commands to start the VSFTPD server in Linux.

# For Sysvinit Systems #
# service vsftpd start
or
# /etc/init.d/vsftpd start

# For Systemd Systems #
# systemctl start vsftpd.service
or
# systemctl start vsftpd

2) To Stop VSFTPD server

Use the below commands to stop the VSFTPD server in Linux.

# For Sysvinit Systems #
# service vsftpd stop
or
# /etc/init.d/vsftpd stop

# For Systemd Systems #
# systemctl stop vsftpd.service
or
# systemctl stop vsftpd

3) To Restart VSFTPD server

Use the below commands to restart the VSFTPD server in Linux.

# For Sysvinit Systems #
# service vsftpd restart
or
# /etc/init.d/vsftpd restart

# For Systemd Systems #
# systemctl restart vsftpd.service
or
# systemctl restart vsftpd

4) To Reload VSFTPD server

Use the below commands to reload the VSFTPD server in Linux.

# For Sysvinit Systems #
# service vsftpd reload
or
# /etc/init.d/vsftpd reload

# For Systemd Systems #
# systemctl reload vsftpd.service
or
# systemctl reload vsftpd

5) To view status of VSFTPD server

Use the below commands to view the status of VSFTPD server in Linux.

# For Sysvinit Systems #
# service vsftpd status
or
# /etc/init.d/vsftpd status

# For Systemd Systems #
# systemctl status vsftpd.service
or
# systemctl status vsftpd

6) To Enable VSFTPD server in boot

Use the below commands to enable the VSFTPD server in boot. In sysVinit system we can use Chkconfig command to configure services in boot via /etc/rd.d/init.d script & Systemd system via /usr/lib/systemd/system script.

# For Sysvinit Systems #
# chkconfig vsftpd on

# For Systemd Systems #
# systemctl enable vsftpd.service
or
# systemctl enable vsftpd

For All service commands View More

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...

Shares
Close
Please support the site
By clicking any of these buttons you help our site to get better