2001-04-06 01:11:23 +05:30
|
|
|
# vi: set sw=4 ts=4:
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
BusyBox - The Swiss Army Knife of Embedded Linux
|
|
|
|
|
|
|
|
=head1 SYNTAX
|
|
|
|
|
|
|
|
BusyBox <function> [arguments...] # or
|
|
|
|
|
|
|
|
<function> [arguments...] # if symlinked
|
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
BusyBox combines tiny versions of many common UNIX utilities into a single
|
|
|
|
small executable. It provides minimalist replacements for most of the utilities
|
|
|
|
you usually find in fileutils, shellutils, findutils, textutils, grep, gzip,
|
|
|
|
tar, etc. BusyBox provides a fairly complete POSIX environment for any small
|
|
|
|
or embedded system. The utilities in BusyBox generally have fewer options than
|
|
|
|
their full-featured GNU cousins; however, the options that are included provide
|
|
|
|
the expected functionality and behave very much like their GNU counterparts.
|
|
|
|
|
|
|
|
BusyBox has been written with size-optimization and limited resources in mind.
|
|
|
|
It is also extremely modular so you can easily include or exclude commands (or
|
|
|
|
features) at compile time. This makes it easy to customize your embedded
|
|
|
|
systems. To create a working system, just add a kernel, a shell (such as ash),
|
|
|
|
and an editor (such as elvis-tiny or ae).
|
|
|
|
|
|
|
|
=head1 USAGE
|
|
|
|
|
|
|
|
When you create a link to BusyBox for the function you wish to use, when BusyBox
|
|
|
|
is called using that link it will behave as if the command itself has been invoked.
|
|
|
|
|
|
|
|
For example, entering
|
|
|
|
|
|
|
|
ln -s ./BusyBox ls
|
|
|
|
./ls
|
|
|
|
|
|
|
|
will cause BusyBox to behave as 'ls' (if the 'ls' command has been compiled
|
|
|
|
into BusyBox).
|
|
|
|
|
|
|
|
You can also invoke BusyBox by issuing the command as an argument on the
|
|
|
|
command line. For example, entering
|
|
|
|
|
|
|
|
./BusyBox ls
|
|
|
|
|
|
|
|
will also cause BusyBox to behave as 'ls'.
|
|
|
|
|
|
|
|
=head1 COMMON OPTIONS
|
|
|
|
|
2001-04-18 05:27:23 +05:30
|
|
|
Most BusyBox commands support the B<-h> option to provide a
|
2001-04-06 01:11:23 +05:30
|
|
|
terse runtime description of their behavior.
|
|
|
|
|
|
|
|
=head1 COMMANDS
|
|
|
|
|
|
|
|
Currently defined functions include:
|
|
|
|
|
2002-10-01 02:22:10 +05:30
|
|
|
addgroup, adduser, adjtimex, ar, awk, basename, busybox, cat, chgrp,
|
2002-10-22 17:54:59 +05:30
|
|
|
chmod, chown, chroot, chvt, clear, cmp, cp, cpio, crond, crontab, cut,
|
|
|
|
date, dc, dd, deallocvt, deluser, df, dirname, dmesg, dos2unix, dpkg,
|
2002-11-27 03:30:21 +05:30
|
|
|
dpkg-deb, du, dumpkmap, dutmp, echo, expr, false, fbset, fdflush, fdisk,
|
|
|
|
find, free, freeramdisk, fsck.minix, getopt, getty, grep, gunzip, gzip,
|
2003-02-09 12:21:14 +05:30
|
|
|
halt, head, hostid, hostname, httpd, id, ifconfig, inetd, init, insmod,
|
|
|
|
kill, killall, klogd, length, ln, loadacm, loadfont, loadkmap, logger,
|
|
|
|
logname, ls, lsmod, makedevs, md5sum, mkdir, mkfifo, mkfs.minix, mknod,
|
|
|
|
mkswap, mktemp, more, mount, mt, mv, nc, netstat, nslookup, ping,
|
|
|
|
pivot_root, poweroff, printf, ps, pwd, rdate, readlink, reboot, renice,
|
|
|
|
reset, rm, rmdir, rmmod, route, rpm2cpio, sed, setkeycodes, sh, sleep,
|
|
|
|
sort, stty, swapoff, swapon, sync, syslogd, tail, tar, tee, telnet,
|
|
|
|
telnetd, test, tftp, time, top, touch, tr, true, tty, umount, uname, uniq,
|
|
|
|
unix2dos, update, uptime, usleep, uudecode, uuencode, watchdog, wc, wget,
|
|
|
|
which, whoami, xargs, yes, zcat, [
|
2001-04-06 01:11:23 +05:30
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2001-08-28 00:25:10 +05:30
|
|
|
|