John Beppu | 5bca0af | 2001-04-05 19:41:23 +0000 | [diff] [blame] | 1 | # vi: set sw=4 ts=4: |
| 2 | |
| 3 | =head1 NAME |
| 4 | |
| 5 | BusyBox - The Swiss Army Knife of Embedded Linux |
| 6 | |
| 7 | =head1 SYNTAX |
| 8 | |
| 9 | BusyBox <function> [arguments...] # or |
| 10 | |
| 11 | <function> [arguments...] # if symlinked |
| 12 | |
| 13 | =head1 DESCRIPTION |
| 14 | |
| 15 | BusyBox combines tiny versions of many common UNIX utilities into a single |
| 16 | small executable. It provides minimalist replacements for most of the utilities |
| 17 | you usually find in fileutils, shellutils, findutils, textutils, grep, gzip, |
| 18 | tar, etc. BusyBox provides a fairly complete POSIX environment for any small |
| 19 | or embedded system. The utilities in BusyBox generally have fewer options than |
| 20 | their full-featured GNU cousins; however, the options that are included provide |
| 21 | the expected functionality and behave very much like their GNU counterparts. |
| 22 | |
| 23 | BusyBox has been written with size-optimization and limited resources in mind. |
| 24 | It is also extremely modular so you can easily include or exclude commands (or |
| 25 | features) at compile time. This makes it easy to customize your embedded |
| 26 | systems. To create a working system, just add a kernel, a shell (such as ash), |
| 27 | and an editor (such as elvis-tiny or ae). |
| 28 | |
| 29 | =head1 USAGE |
| 30 | |
| 31 | When you create a link to BusyBox for the function you wish to use, when BusyBox |
| 32 | is called using that link it will behave as if the command itself has been invoked. |
| 33 | |
| 34 | For example, entering |
| 35 | |
| 36 | ln -s ./BusyBox ls |
| 37 | ./ls |
| 38 | |
| 39 | will cause BusyBox to behave as 'ls' (if the 'ls' command has been compiled |
| 40 | into BusyBox). |
| 41 | |
| 42 | You can also invoke BusyBox by issuing the command as an argument on the |
| 43 | command line. For example, entering |
| 44 | |
| 45 | ./BusyBox ls |
| 46 | |
| 47 | will also cause BusyBox to behave as 'ls'. |
| 48 | |
| 49 | =head1 COMMON OPTIONS |
| 50 | |
John Beppu | 2771d1a | 2001-04-17 23:57:23 +0000 | [diff] [blame] | 51 | Most BusyBox commands support the B<-h> option to provide a |
John Beppu | 5bca0af | 2001-04-05 19:41:23 +0000 | [diff] [blame] | 52 | terse runtime description of their behavior. |
| 53 | |
| 54 | =head1 COMMANDS |
| 55 | |
| 56 | Currently defined functions include: |
| 57 | |
Eric Andersen | bb9dc93 | 2003-07-15 00:31:25 +0000 | [diff] [blame] | 58 | addgroup, adduser, adjtimex, ar, arping, ash, awk, basename, |
| 59 | bunzip2, busybox, bzcat, cal, cat, chgrp, chmod, chown, chroot, |
| 60 | chvt, clear, cmp, cp, cpio, crond, crontab, cut, date, dc, dd, |
| 61 | deallocvt, delgroup, deluser, df, dirname, dmesg, dos2unix, dpkg, |
| 62 | dpkg-deb, du, dumpkmap, dumpleases, dutmp, echo, egrep, env, expr, |
| 63 | false, fbset, fdflush, fdformat, fgrep, find, fold, free, freeramdisk, |
| 64 | fsck.minix, ftpget, ftpput, getopt, getty, grep, gunzip, gzip, |
Eric Andersen | a501d0f | 2003-07-22 10:11:27 +0000 | [diff] [blame] | 65 | halt, hdparm, head, hexdump, hostid, hostname, httpd, hush, hwclock, |
| 66 | id, ifconfig, ifdown, ifup, inetd, init, insmod, ip, ipcalc, iplink, |
Eric Andersen | bb9dc93 | 2003-07-15 00:31:25 +0000 | [diff] [blame] | 67 | iproute, iptunnel, kill, killall, klogd, lash, length, linuxrc, |
| 68 | ln, loadacm, loadfont, loadkmap, logger, login, logname, logread, |
| 69 | losetup, ls, lsmod, makedevs, md5sum, mesg, minit, mkdir, mkfifo, |
| 70 | mkfs.minix, mknod, mkswap, mktemp, modprobe, more, mount, msh, |
| 71 | msvc, mt, mv, nameif, nc, netstat, nslookup, od, openvt, passwd, |
| 72 | patch, pidfilehack, pidof, ping, ping6, pivot_root, poweroff, |
| 73 | printf, ps, pwd, rdate, readlink, realpath, reboot, renice, reset, |
| 74 | rm, rmdir, rmmod, route, rpm, rpm2cpio, run-parts, sed, setkeycodes, |
| 75 | sha1sum, sleep, sort, start-stop-daemon, strings, stty, su, sulogin, |
| 76 | swapoff, swapon, sync, syslogd, tail, tar, tee, telnet, telnetd, |
| 77 | test, tftp, time, top, touch, tr, traceroute, true, tty, udhcpc, |
Eric Andersen | a501d0f | 2003-07-22 10:11:27 +0000 | [diff] [blame] | 78 | udhcpd, umount, uname, uncompress, uniq, unix2dos, unzip, |
Eric Andersen | bb9dc93 | 2003-07-15 00:31:25 +0000 | [diff] [blame] | 79 | uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, watch, |
| 80 | watchdog, wc, wget, which, who, whoami, xargs, yes, zcat, [ |
John Beppu | 5bca0af | 2001-04-05 19:41:23 +0000 | [diff] [blame] | 81 | |
| 82 | =over 4 |
| 83 | |
Matt Kraai | 9163101 | 2001-08-27 18:55:10 +0000 | [diff] [blame] | 84 | |