Re: manage starting and stopping processes with less typing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 2010-04-14 at 07:29 -0600, Benjamin Campbell wrote:
> On Tue, Apr 13, 2010 at 1:36 PM, Frank Thieme <frank@xxxxxxxxxxx> wrote:
> 
> > On Tue, Apr 13, 2010 at 21:22, David C. Rankin
> > <drankinatty@xxxxxxxxxxxxxxxxxx> 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 



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux