[arch-general] manage starting and stopping processes with less typing

Gary Wright wriggary at gmail.com
Wed Apr 14 13:01:14 EDT 2010


On Wed, 2010-04-14 at 07:29 -0600, Benjamin Campbell wrote:
> On Tue, Apr 13, 2010 at 1:36 PM, Frank Thieme <frank at fthieme.net> wrote:
> 
> > On Tue, Apr 13, 2010 at 21:22, David C. Rankin
> > <drankinatty at suddenlinkmail.com> wrote:
> > >        One thing I miss with Arch are init-script shortcuts for starting
> > and stopping
> > > processes. rc-commands really help cut down on typing. For example, all
> > suse did
> > > was to create links to the files in /etc/rc.d/... with a naming
> > convention of
> > > rc<init script name>. So, for example, instead of having to type:
> >
> > IMHO you just have to use tab completion and you will not type much
> > more. I don't like the symlink approach of suse...
> >
> > Bye...Frank
> >
> 
> I promote the use of tab completion as it helps with reinforcing the
> directory structure in my head. In addition too many soft links makes me
> feel as though I am chasing ghosts around my computer. Tab completion and
> good old fashion elbow grease is a sure and concise way of making it around
> the directory structure.
> 
> Benji

I'm not sure what shell everyone is using, but the tab completion in
extra/zsh + extra/grml-zsh-config makes it easy as:

sudo /e/r/sam <tab> start

which completes on my system to sudo /etc/rc.d/samba start 



More information about the arch-general mailing list