What is busybox?
BusyBox combines tiny versions of many common UNIX utilities into a single small executable.
Use cases:
It provides replacements for most of the utilities you usually find in linux and unix systems. One can extremely customize the commands on needs.
In any Linux embedded system if you try to list out /bin, /sbin, /usr/bin you will see as below.
ls -l /bin /sbin /usr/bin (manually typed sample to demo ). More than 90% of the commands are just a link to busybox. And busybox source the functionalities.
- cat -> /bin/busybox
- ls -> /bin/busybox
- insmod -> /bin/busybox
- cp -> /bin/busybox
- mov -> /bin/busybox
- rm -> /bin/busybox
- dd -> /bin/busybox
- grep -> /bin/busybox
- sed -> /bin/busybox
- mkdir -> /bin/busybox
- touch -> /bin/busybox
BusyBox provides a fairly complete environment for any small or embedded system.
BusyBox has been written with size-optimization and limited resources in mind.
In few hundred kb size file, one could get huge list of functionalities on the system.