Re: audacity export wma format[1 more question]
On Fri, Oct 25, 2013 at 12:35:49AM +1100, Scott Ferguson wrote:
> On 25/10/13 00:27, Reco wrote:
> > Hi.
> >
> > On Thu, Oct 24, 2013 at 11:56:01PM +1100, Scott Ferguson wrote:
> >> should have been:-
> >> $ echo "alias s='su -c"'" >> ~/.bash_aliases;. .bashrc
> >
> > This works better as:
> >
> > function s() {
> > su -l root -c "$*"
> > }
> > export -f s
> >
> > Saves an extra "
> >
> > Reco
> >
>
>
> Nice. Thanks.
> (I was too lazy to process $1, alias won't. Guess I don't find becoming
> su to run specific commands exceedingly onerous).
>
> I presume that function would added to .bashrc (??)
>
Yes, add it to .bashrc.
Reco
Reply to: