Alias is part of busybox, therefore, at least on my version, there is no program with the name 'alias'.
But it would be better if someone having the same version installed as you could give an answer.
Regards, Roland
--- In nslu2-linux@yahoogroups.com, "jonathandkerr" <mail@...> wrote:
>
> I'm running V2.3R63-uNSLUng-6.10-beta and BusyBox v1.3.1
>
> I don't have additional shells I don't think. Can you tell me where alias is for you? Is it in /usr/bin or /usr/sbin? ....and is it a symbolic link to slingbox?
>
> Any other suggestions?
>
> Thanks
> JK
>
> --- In nslu2-linux@yahoogroups.com, "rolandkbs" <roland.krebs@> wrote:
> >
> > Which version do you have?
> > I have V2.3R63-uNSLUng-6.8-beta with buybox 0.60.4 and alias works:
> > # cat root/.profile
> > export TERM=ansi
> > export PATH="/opt/bin:$PATH"
> > alias a=alias
> > # a
> > alias a='alias'
> > #
> >
> > Have you additional shells installed?
> >
> > Regards, Roland
> >
> > --- In nslu2-linux@yahoogroups.com, "jonathandkerr" <mail@> wrote:
> > >
> > > Hi folks - I've had my slug running uNSLUng for a while now. Great tool, but I'm struggling with a could of simple things. I'm trying to set some aliases in /root/.profile...
> > >
> > > # cat /root/.profile
> > > #!/bin/sh
> > > export PATH=$PATH:/opt/user/root/scripts
> > > alias scripts='cd /opt/user/root/scripts'
> > >
> > >
> > > but when I log into the slug it tells me "-sh: alias: not found"
> > >
> > > Is this a limitation of "sh" or do I just need to install something?
> > >
> > > Thanks in advance!
> > >
> >
>
Friday, March 4, 2011
[nslu2-linux] Re: Can't set alias in .profile
__._,_.___
.
__,_._,___
No comments:
Post a Comment