The different between run the command by ./ and by busybox
Roberto A. Foglietta
roberto.foglietta at gmail.com
Mon Nov 20 01:05:06 PST 2006
2006/11/20, liu.renfeng <liu.renfeng at gmail.com>:
>
>
> Thanks for your quickly reply.
> I know that FAQ told us to run program like "./busybox [appletname]
> [options]"
> but what I asked is the difference between that and to run programe like "./
> appletname option". I don't do any operation like "mv busybox ls" and then
> "./ls -l".
you should do that
./executable-name
to run a program in the current directory when the current directory
is not in the PATH enviroment. So this
./busybox ls
works because you call busybox with "ls" as parameter and this
./ls
could works only if there are a link which point to busybox
mv busybox ls
ln -s busybox ls
try to do this
./ls -al
in the path in which both "./busybox ls" and "./ls" works
Cheers,
--
/roberto
More information about the busybox
mailing list