Overview
BusyBox combines tiny versions of many common GNU utilities (ls, cp, cat, grep, vi, etc.) into a single small executable. It is ideal for resource-constrained environments and is a standard component of most Linux initramfs images.
Installation & Usage
Option 1: Run the downloaded binary directly
# Make it executable
chmod +x busybox
# List all supported applets
./busybox --list
# Invoke a specific command via busybox
./busybox ls -la
./busybox wget http://example.com/file.tar.gz
Option 2: Install with symlinks (recommended)
sudo mkdir -p /usr/local/busybox
sudo cp busybox /usr/local/busybox/
cd /usr/local/busybox
sudo ./busybox --install -s # creates symlinks for all applets
You can then use ls, vi, ping, etc. as regular system commands.
Common Scenarios
- System rescue: perform basic file and network operations when standard tools are missing in a live environment or initramfs.
- Embedded development: serve as the userland toolset for minimal Linux systems.
- Quick replacement: get a missing command quickly on any distribution.
Notes
BusyBox commands are trimmed implementations. Some advanced options differ from full GNU tools, so verify script compatibility yourself.