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 |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame^] | 21 | the expected functionality and behave very much like their GNU counterparts. |
John Beppu | 5bca0af | 2001-04-05 19:41:23 +0000 | [diff] [blame] | 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 |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame^] | 40 | into BusyBox). |
John Beppu | 5bca0af | 2001-04-05 19:41:23 +0000 | [diff] [blame] | 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 | |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame^] | 47 | will also cause BusyBox to behave as 'ls'. |
John Beppu | 5bca0af | 2001-04-05 19:41:23 +0000 | [diff] [blame] | 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 |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame^] | 52 | terse runtime description of their behavior. |
John Beppu | 5bca0af | 2001-04-05 19:41:23 +0000 | [diff] [blame] | 53 | |
| 54 | =head1 COMMANDS |
| 55 | |
| 56 | Currently defined functions include: |
| 57 | |
Eric Andersen | b868f55 | 2003-12-20 07:16:22 +0000 | [diff] [blame] | 58 | addgroup, adduser, adjtimex, ar, arping, ash, awk, basename, bunzip2, |
| 59 | busybox, bzcat, cal, cat, chgrp, chmod, chown, chroot, chvt, clear, |
| 60 | cmp, cp, cpio, crond, crontab, cut, date, dc, dd, deallocvt, delgroup, |
| 61 | deluser, df, dirname, dmesg, dos2unix, dpkg, dpkg-deb, du, dumpkmap, |
| 62 | dumpleases, dutmp, echo, egrep, env, expr, false, fbset, fdflush, |
| 63 | fdformat, fgrep, find, fold, free, freeramdisk, fsck.minix, ftpget, |
| 64 | ftpput, getopt, getty, grep, gunzip, gzip, halt, hdparm, head, hexdump, |
| 65 | hostid, hostname, httpd, hush, hwclock, id, ifconfig, ifdown, ifup, |
| 66 | inetd, init, insmod, ip, ipcalc, iplink, iproute, iptunnel, kill, |
| 67 | killall, klogd, lash, length, linuxrc, ln, loadfont, loadkmap, logger, |
| 68 | login, logname, logread, losetup, ls, lsmod, makedevs, md5sum, mesg, |
| 69 | minit, mkdir, mkfifo, mkfs.minix, mknod, mkswap, mktemp, modprobe, |
| 70 | more, mount, msh, msvc, mt, mv, nameif, nc, netstat, nslookup, od, |
| 71 | openvt, passwd, patch, pidfilehack, pidof, ping, ping6, pivot_root, |
| 72 | poweroff, printf, ps, pwd, rdate, readlink, realpath, reboot, renice, |
| 73 | reset, rm, rmdir, rmmod, route, rpm, rpm2cpio, run-parts, sed, |
| 74 | setkeycodes, sha1sum, sleep, sort, start-stop-daemon, strings, stty, |
| 75 | su, sulogin, swapoff, swapon, sync, syslogd, tail, tar, tee, telnet, |
| 76 | telnetd, test, tftp, time, top, touch, tr, traceroute, true, tty, |
| 77 | udhcpc, udhcpd, umount, uname, uncompress, uniq, unix2dos, unzip, |
| 78 | uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, watch, |
| 79 | watchdog, wc, wget, which, who, whoami, xargs, yes, zcat, [ |
John Beppu | 5bca0af | 2001-04-05 19:41:23 +0000 | [diff] [blame] | 80 | |
| 81 | =over 4 |
| 82 | |
Matt Kraai | 9163101 | 2001-08-27 18:55:10 +0000 | [diff] [blame] | 83 | |