Skip to navigation.
List enabled services in Linux

List enabled services in Linux

21
Nov
2008

Today I needed to list all of the services which were enabled on boot-up for one of the servers I maintain. Obviously, my first port of call was to use the nifty tool ChkConfig like so…

/sbin/chkconfig --list

But that also listed all the services which were NOT set to start at boot time... Surely grep would be me saviour?! Well thanks to a comment on another site, I introduce this set of commands!

chkconfig --list | grep "3:on" | awk "{print $1}" | sort

This makes the list a LOT more readable and even alphabetizes it for you!

It'd be nice if you asked before taking stuff from my site. Contact me at webmaster [at] thingy - ma - jig . co . uk

This site was based on the Cobalt 2.0 Theme for phpBB written by Jakob Persson

Sponsors
Recent comments
RSS Feed
Search
Follow Us
Weblinks

Add to Technorati Favorites

TGC Webring

CMS Drupal Showcase

Feedburner for ThingyMaJig

View Nicholas Thompson's profile on LinkedIn

Nicholas Thompson's ClaimID

IconBuffet

Twitter

Become A Fan

bile-edge