[Techtalk] detecting busybox

Miriam English mim at miriam-english.org
Tue Jan 10 10:28:28 UTC 2012


Wonderful! Thank you Akkana.
Great solution using $PATH. I would never have thought of that!

Best wishes,

	- Miriam

Akkana Peck wrote:
> Miriam English writes:
>> I love the whole "small is beautiful" idea, but I've grown to really
>> dislike busybox. It has caused countless problems for me in writing
>> scripts, usually because busybox sacrifices functionality for size,
>> and very often I just need that extra bit of capability. I'll be
>
> Agreed. It can be fairly annoying.
>
>> Does anybody know a way to find all the commands on my system that
>> use busybox instead of the full command?
>
> Assuming most of the commands you use are in /usr/bin:
> ls -l /usr/bin | grep busybox
>
> Or if you want everything in your path, not just what's in /usr/bin:
>
> for p in $(echo $PATH | sed 's/:/ /g') ; do
> ls -l $p | grep busybox
> done
>
> A full-fledged Linux desktop/laptop shouldn't use busybox for anything.
> Normally busybox is for tiny embedded systems that don't have enough
> disk space to store the usual set of real programs.
>
> 	...Akkana
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk
>
>


-- 
If you don't have any failures then you're not trying hard enough.
  - Dr. Charles Elachi, director of NASA's Jet Propulsion Laboratory
-----
Website: http://miriam-english.org
Blogs:   http://miriam-e.dreamwidth.org
          http://miriam-e.livejournal.com


More information about the Techtalk mailing list