Two Ways to Remove Unwanted Startup Files or Services

Valic —  July 31, 2010 — 1 Comment

Under Debian Linux startup files are stored in /etc/init.d/ directory.

Debian uses scripts to start services at boot time from /etc/init.d/ directory.

I will show two ways with which you can remove unwanted startup files or services:

Firts is rcconf :

Rcconf gets a list of services from /etc/init.d and looks in the /etc/rc?.d directories to determine whether each service is on or off.


apt-get install rccconf


Just type rcconf in console and use space key to remove the desired service.


The second is update-rc.d script:

You can use update-rc.d script as follows to remove any links in the /etc/init.d/:

update-rc.d -f {service name desired} remove


To stop apache2 service at boot time we will use :

update-rc.d -f apache2 remove


Posts Twitter Facebook

Editor in Chief at Debian-Tutorials, Linux enthusiast.

One response to Two Ways to Remove Unwanted Startup Files or Services

  1. apt-get install rcconf

    instead of rccconf 😉

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.