Mike Schilli's Friendly Neighborhood Perl Shop

Home
USArundbrief.com
Resume
CPAN Modules
Articles in English
Articles in German
Mike's Script Archive
English-Japanese Translation Trainer
Adventures with O'Reilly's Safari
10 Easy Steps to Become a California Driver
Unofficial perlmonks.com IRC Channel
My Collection of Outage Pages
Prisma (Computer Club Deutschland)
The Mike Schilli Monologues
Mike's Monologues
Mike's Script Archive: findrc

findrc - Find all /etc/rc.d files related to an application


NAME

    findrc - Find all /etc/rc.d files related to an application


DOWNLOAD

findrc


SYNOPSIS

    findrc appname (e.g. 'network')


DESCRIPTION

findrc traverses the files under /etc/rc.d and searches for all start/stop files related to an application.


EXAMPLES

      # Find all network start/stop files
  $ findrc network
  /etc/rc.d/rc5.d/S10network
  /etc/rc.d/rc4.d/S10network
  /etc/rc.d/rc6.d/K90network
  /etc/rc.d/rc3.d/S10network
  /etc/rc.d/rc2.d/S10network
  /etc/rc.d/init.d/network
  /etc/rc.d/rc0.d/K90network
  /etc/rc.d/rc1.d/K90network
      # Delete them all
  # findrc network | xargs rm


LEGALESE

Copyright 2008 by Mike Schilli, all rights reserved. This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.


AUTHOR

2008, Mike Schilli <cpan@perlmeister.com>


Latest update: 20-Oct-2013