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

2010-04-15 Thread Nathan Wayde
On 13/04/10 20:50, Linas wrote: David C. Rankin wrote: Guys, 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 c

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

2010-04-14 Thread Linas
David C. Rankin wrote: > Guys, > > 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. So,

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

2010-04-14 Thread Shacristo
On Wed, Apr 14, 2010 at 11:55 PM, Brendan Long wrote: > On 04/13/2010 01:22 PM, David C. Rankin wrote: >> Guys, >> >>       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 >>

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

2010-04-14 Thread Brendan Long
On 04/13/2010 01:22 PM, David C. Rankin wrote: > Guys, > > 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

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

2010-04-14 Thread Dieter Plaetinck
On Tue, 13 Apr 2010 21:03:50 -0500 "David C. Rankin" wrote: > On 04/13/2010 02:58 PM, Flavio Costa wrote: > > What about that: for i in $(ls -1 /etc/rc.d); do alias > > rc-$i="/etc/rc,d/$i"; done > > That's simple and dynamic, just insert it on your .bashrc ou > > /etc/bash.bashrc (global) > > >

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

2010-04-14 Thread Gary Wright
On Wed, 2010-04-14 at 07:29 -0600, Benjamin Campbell wrote: > On Tue, Apr 13, 2010 at 1:36 PM, Frank Thieme wrote: > > > On Tue, Apr 13, 2010 at 21:22, David C. Rankin > > wrote: > > >One thing I miss with Arch are init-script shortcuts for starting > > and stopping > > > processes. rc-c

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

2010-04-14 Thread Ray Rashif
On 14 April 2010 21:29, Benjamin Campbell wrote: > 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 gr

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

2010-04-14 Thread Benjamin Campbell
On Tue, Apr 13, 2010 at 1:36 PM, Frank Thieme wrote: > On Tue, Apr 13, 2010 at 21:22, David C. Rankin > 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 > > wa

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

2010-04-13 Thread Linas
Seems my message didn't get through. It was just doing rc() { /etc/rc.d/$*; } And to get completion, complete -o filenames -W "$(cd /etc/rc.d/ && echo *)" rc That requires a relogin / sourcing the profile again to update the completion (could be avoided with another function) but it's neat and s

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

2010-04-13 Thread David C. Rankin
On 04/13/2010 02:58 PM, Flavio Costa wrote: > What about that: for i in $(ls -1 /etc/rc.d); do alias rc-$i="/etc/rc,d/$i"; > done > That's simple and dynamic, just insert it on your .bashrc ou > /etc/bash.bashrc (global) > Yes, But that leaves me updating multiple .bashrc files (root, da

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

2010-04-13 Thread David C. Rankin
On 04/13/2010 02:36 PM, Frank Thieme wrote: > On Tue, Apr 13, 2010 at 21:22, David C. Rankin > 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 creat

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

2010-04-13 Thread David C. Rankin
On 04/13/2010 02:34 PM, Gaurish Sharma wrote: > On Wednesday 14 Apr 2010 12:52:43 am David C. Rankin wrote: > > I wrote a similar bash function, which I placed my ~/.bashrc. Sharing it here: > > start() > { > for arg in $*; do > sudo /etc/rc.d/$arg start > done > } > It works as > $ st

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

2010-04-13 Thread David Rosenstrauch
On 04/13/2010 03:22 PM, David C. Rankin wrote: Guys, 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

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

2010-04-13 Thread Denis A . Altoé Falqueto
On Tue, Apr 13, 2010 at 4:58 PM, Flavio Costa wrote: > What about that: for i in $(ls -1 /etc/rc.d); do alias rc-$i="/etc/rc,d/$i"; > done > That's simple and dynamic, just insert it on your .bashrc ou > /etc/bash.bashrc (global) That has a problem. It is evaluated when you log in (or when you so

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

2010-04-13 Thread Flavio Costa
What about that: for i in $(ls -1 /etc/rc.d); do alias rc-$i="/etc/rc,d/$i"; done That's simple and dynamic, just insert it on your .bashrc ou /etc/bash.bashrc (global) On Tue, Apr 13, 2010 at 4:41 PM, Kazuo Teramoto wrote: > On Tue, Apr 13, 2010 at 4:22 PM, David C. Rankin > wrote: > > Guys, >

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

2010-04-13 Thread Kazuo Teramoto
On Tue, Apr 13, 2010 at 4:22 PM, David C. Rankin wrote: > Guys, > >        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/... wit

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

2010-04-13 Thread Frank Thieme
On Tue, Apr 13, 2010 at 21:22, David C. Rankin 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 c

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

2010-04-13 Thread Gaurish Sharma
On Wednesday 14 Apr 2010 12:52:43 am David C. Rankin wrote: > Guys, > > 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

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

2010-04-13 Thread David C. Rankin
Guys, 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. So, for example, instead of having to typ