Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Chapter 11.  > BusyBox Operation

11.3. BusyBox Operation

When you build BusyBox, you end up with a binary called, you guessed it, busybox. BusyBox can be invoked from the binary name itself, but it is more usually launched via a symlink. When BusyBox is invoked without command-line parameters, it produces a list of the functions that were enabled via the configuration. Listing 11-3 shows such an output (it has been formatted slightly to fit the page width).

Listing 11-3. BusyBox Usage

root@coyote # ./busybox
BusyBox v1.01 (2005.12.03-18:00+0000) multi-call binary

Usage: busybox [function] [arguments]...
       or: [function] [arguments]...

    BusyBox is a multi-call binary that combines many common Unix
    utilities into a single executable. Most people will create a
    link to busybox for each function they wish to use and BusyBox
    will act like whatever it was invoked as!

Currently defined functions:
  [, ash, basename, bunzip2, busybox, bzcat, cat, chgrp, chmod,
    chown, chroot, chvt, clear, cmp, cp, cut, date, dd, deallocvt,
    df, dirname, dmesg, du, echo, egrep, env, expr, false, fgrep,
    find, free, grep, gunzip, gzip, halt, head, hexdump, hostname,

    id, ifconfig, init, install, kill, killall, klogd, linuxrc, ln,
    logger, ls, mkdir, mknod, mktemp, more, mount, mv, openvt, pidof,
    ping, pivot_root, poweroff, ps, pwd, readlink, reboot, reset,
    rm, rmdir, route, sed, sh, sleep, sort, strings, swapoff, swapon,
    sync, syslogd, tail, tar, tee, test, time, touch, tr, true, tty,
    umount, uname, uniq, unzip, uptime, usleep, vi, wc, wget, which,
    whoami, xargs, yes, zcat


You are currently reading a PREVIEW of this book.


Get instant access to over $1 million worth of books and videos.


Start a Free 10-Day Trial

  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint