-- Nick Rout <[EMAIL PROTECTED]> spake thusly: > I wrote a very quick & dirty script > > cat /sbin/service ># !/bin/sh > /etc/init.d/$1 $2 > > now I can service samba stop|start etc > > the problem is remebering service names (is it samba? or smb? or > smbd? - redhat calls it smb, gentoo calls it samba)
If you emerge bash-completion, it's already got tab-completion for the service command. "service ap<tab>" gives me "service apache2". -- [EMAIL PROTECTED] mailing list