Codex

BUSYBOX

Section: busybox (1)

Updated: 2015-02-19

Index?action=index Return to Main Contents


NAME

BusyBox - The Swiss Army Knife of Embedded Linux

SYNTAX

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 GNU coreutils, util-linux, etc. 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 /dev, /etc, and a Linux kernel. BusyBox provides a fairly complete POSIX environment for any small or embedded system.

BusyBox is extremely configurable. This allows you to include only the components you need, thereby reducing binary size. Run 'make config' or 'make menuconfig' to select the functionality that you wish to enable. Then run 'make' to compile BusyBox using your configuration.

After the compile has finished, you should use 'make install' to install BusyBox. This will install the 'bin/busybox' binary, in the target directory specified by CONFIG_PREFIX. CONFIG_PREFIX can be set when configuring BusyBox, or you can specify an alternative location at install time (i.e., with a command line like 'make CONFIG_PREFIX=/tmp/foo install'). If you enabled any applet installation scheme (either as symlinks or hardlinks), these will also be installed in the location pointed to by CONFIG_PREFIX.

USAGE

BusyBox is a multi-call binary. A multi-call binary is an executable program that performs the same job as more than one utility program. That means there is just a single BusyBox binary, but that single binary acts like a large number of utilities. This allows BusyBox to be smaller since all the built-in utility programs (we call them applets) can share code for many common operations.

You can also invoke BusyBox by issuing a command as an argument on the command line. For example, entering

will also cause BusyBox to behave as 'ls'.

Of course, adding '/bin/busybox' into every command would be painful. So most people will invoke BusyBox using links to the BusyBox binary.

For example, entering

will cause BusyBox to behave as 'ls' (if the 'ls' command has been compiled into BusyBox). Generally speaking, you should never need to make all these links yourself, as the BusyBox build system will do this for you when you run the 'make install' command.

If you invoke BusyBox with no arguments, it will provide you with a list of the applets that have been compiled into your BusyBox binary.

COMMON OPTIONS

Most BusyBox applets support the --help argument to provide a terse runtime description of their behavior. If the CONFIG_FEATURE_VERBOSE_USAGE option has been enabled, more detailed usage information will also be available.

COMMANDS

Currently available applets include:

COMMAND DESCRIPTIONS

acpid
acpid [-df] [-c CONFDIR] [-l LOGFILE] [-a ACTIONFILE] [-M MAPFILE] [-e PROC_EVENT_FILE] [-p PIDFILE]

Listen to ACPI events and spawn specific helpers on event arrival

Accept and ignore compatibility options -g -m -s -S -v

:

adjtimex
adjtimex [-q] [-o OFF] [-f FREQ] [-p TCONST] [-t TICK]

Read and optionally set system timebase parameters. See adjtimex?(2)

:
ar
ar [-o] [-v] [-p] [-t] [-x] ARCHIVE FILES

Extract or list FILES from an ar archive

:
arp
arp [-vn] [-H HWTYPE] [-i IF] -a [HOSTNAME]
[-v] [-i IF] -d HOSTNAME [pub]
[-v] [-H HWTYPE] [-i IF] -s HOSTNAME HWADDR [temp]
[-v] [-H HWTYPE] [-i IF] -s HOSTNAME HWADDR [netmask MASK] pub
[-v] [-H HWTYPE] [-i IF] -Ds HOSTNAME IFACE [netmask MASK] pub

Manipulate ARP cache

:
arping
arping [-fqbDUA] [-c CNT] [-w TIMEOUT] [-I IFACE] [-s SRC_IP] DST_IP

Send ARP requests/replies

:
ash
ash [-/+OPTIONS] [-/+o OPT]... [-c 'SCRIPT' [ARG0 [ARGS]] / FILE [ARGS]]

Unix shell interpreter

:

awk
awk [OPTIONS] [AWK_PROGRAM] [FILE]...
:
basename
basename FILE [SUFFIX]

Strip directory path and .SUFFIX from FILE

:

blockdev
blockdev OPTION BLOCKDEV
:
brctl
brctl COMMAND [BRIDGE [INTERFACE]]

Manage ethernet bridges

Commands:

:
bunzip2
bunzip2 [-cf] [FILE]...

Decompress FILEs (or stdin)

:
bzcat
bzcat [FILE]...

Decompress to stdout

:

bzip2
bzip2 [OPTIONS] [FILE]...

Compress FILEs (or stdin) with bzip2 algorithm

:
cal
cal [-jy] [[MONTH] YEAR]

Display a calendar

:
cat
cat [FILE]...

Concatenate FILEs and print them to stdout

:

chgrp
chgrp [-RhLHPcvf]... GROUP FILE...

Change the group membership of each FILE to GROUP

:
chmod
chmod [-Rcvf] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the symbols +-= and one or more of the letters rwxst

:
chown
chown [-RhLHPcvf]... OWNER[<.|:>[GROUP]] FILE...

Change the owner and/or group of each FILE to OWNER and/or GROUP

:
chroot
chroot NEWROOT [PROG ARGS]

Run PROG with root directory set to NEWROOT

:

chvt
chvt N

Change the foreground virtual terminal to /dev/ttyN

:

clear
clear

Clear screen

:

cmp
cmp [-l] [-s] FILE1 [FILE2 [SKIP1 [SKIP2]]]

Compare FILE1 with FILE2 (or stdin)

:
cp
cp [OPTIONS] SOURCE... DEST

Copy SOURCE(s) to DEST

:
cpio
cpio [-dmvu] [-F FILE] [-H newc] [-tio] [EXTR_FILE]...

Extract or list files from a cpio archive, or create an archive using file list on stdin

Main operation mode:

:
cttyhack
cttyhack [PROG ARGS]
Give PROG a controlling tty if possible. Example for /etc/inittab (for busybox init): ::respawn:/bin/cttyhack /bin/sh
Giving controlling tty to shell running with PID 1: $ exec cttyhack sh

Starting interactive shell from boot shell script:

:
cut
cut [OPTIONS] [FILE]...

Print selected fields from each input FILE to stdout

:
date
date [OPTIONS] [+FMT] [TIME]

Display time (using +FMT), or set time

Recognized TIME formats:

:
dc
dc EXPRESSION...

Tiny RPN calculator. Operations: +, add, -, sub, *, mul, /, div, %, mod, and, or, not, xor, p - print top of the stack (without popping), f - print entire stack, o - pop the value and set output radix (must be 10, 16, 8 or 2). Examples: 'dc 2 2 add p' -> 4, 'dc 8 8 mul 2 2 + / p' -> 16

:

dd
dd [if=FILE] [of=FILE] [ibs=N] [obs=N] [bs=N] [count=N] [skip=N] [seek=N] [conv=notrunc|noerror|sync|fsync]

Copy a file with converting and formatting

N may be suffixed by c (1), w (2), b (512), kD (1000), k (1024), MD, M, GD, G

:

deallocvt
deallocvt [N]

Deallocate unused virtual terminal /dev/ttyN

:

depmod
depmod [-n] [-b BASE] [VERSION] [MODFILES]...

Generate modules.dep, alias, and symbols files

:
devmem
devmem ADDRESS [WIDTH [VALUE]]

Read/write from physical address

:
df
df [-Pkmhai] [-B SIZE] [FILESYSTEM]...

Print filesystem usage statistics

:
diff
diff [-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2

Compare files line by line and output the differences between them. This implementation supports unified diffs only.

:
dirname
dirname FILENAME

Strip non-directory suffix from FILENAME

:

dmesg
dmesg [-c] [-n LEVEL] [-s SIZE]

Print or control the kernel ring buffer

:
dos2unix
dos2unix [-ud] [FILE]

Convert FILE in-place from DOS to Unix format. When no file is given, use stdin/stdout.

:
du
du [-aHLdclsxhmk] [FILE]...

Summarize disk space used for each FILE and/or directory

:
dumpkmap
dumpkmap > keymap

Print a binary keyboard translation table to stdout

:

dumpleases
dumpleases [-r|-a] [-f LEASEFILE]

Display DHCP leases granted by udhcpd

:
echo
echo [-neE] [ARG]...

Print the specified ARGs to stdout

:
env
env iu] [ [name=value]... [PROG ARGS]

Print the current environment or run PROG after setting up the specified environment

:
expand
expand [-i] [-t N] [FILE]...

Convert tabs to spaces, writing to stdout

:
expr
expr EXPRESSION

Print the value of EXPRESSION to stdout

EXPRESSION may be:

Beware that many operators need to be escaped or quoted for shells. Comparisons are arithmetic if both ARGs are numbers, else lexicographical. Pattern matches return the string matched between \( and \) or null; if \( and \) are not used, they return the number of characters matched or 0.

:

false
false

Return an exit code of FALSE \fIs0?(1)

:

find
find [-HL] [PATH]... [OPTIONS] [ACTIONS]

Search for files and perform actions on them. First failed action stops processing of current file. Defaults: PATH is current directory, action is '-print'

Actions:

:
fold
fold [-bs] [-w WIDTH] [FILE]...

Wrap input lines in each FILE (or stdin), writing to stdout

:
free
free [-b/k/m/g]

Display the amount of free and used system memory

:

freeramdisk
freeramdisk DEVICE

Free all memory used by the specified ramdisk

:

fstrim
fstrim [OPTIONS] MOUNTPOINT
:
ftpget
ftpget [OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE

Download a file via FTP

:
ftpput
ftpput [OPTIONS] HOST [REMOTE_FILE] LOCAL_FILE

Upload a file to a FTP server

:
getopt
getopt [OPTIONS] OPTSTRING PARAMS

Example:

O=`getopt -l bb: --- ab:c:: ``$@` || exit 1 eval set --- ``$O while true; do case ``$1'' in
-a) echo A; shift;;
-b|--bb) echo ``B:'$2'''; shift 2;;
-c) case ``$2'' in
"``) echo C; shift 2;;
*) echo ''C:'$2'"; shift 2;;
esac;;
--) shift; break;;
*) echo Error; exit 1;;
esac

done

:

getty
getty [OPTIONS] BAUD_RATE[,BAUD_RATE]... TTY [TERMTYPE]

Open TTY, prompt for login name, then invoke /bin/login

BAUD_RATE of 0 leaves it unchanged

:

grep
grep [-HhnlLoqvsriwFEz] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...

Search for PATTERN in FILEs (or stdin)

:
groups
groups [USER]

Print the group memberships of USER or for the current process

:

gunzip
gunzip [-cft] [FILE]...

Decompress FILEs (or stdin)

:
gzip
gzip [-cfd] [FILE]...

Compress FILEs (or stdin)

:
halt
halt [-d DELAY] [-n] [-f] [-w]

Halt the system

:
head
head [OPTIONS] [FILE]...

Print first 10 lines of each FILE (or stdin) to stdout. With more than one FILE, precede each with a filename header.

N may be suffixed by k (x1024), b (x512), or m (x1024^2).

:

hexdump
hexdump [-bcCdefnosvx] [FILE]...

Display FILEs (or stdin) in a user specified format

:
hostid
hostid

Print out a unique 32-bit identifier for the machine

:

hostname
hostname [OPTIONS] [HOSTNAME | -F FILE]

Get or set hostname or DNS domain name

:
httpd
httpd [-ifv[v]] [-c CONFFILE] [-p [IP:]PORT] [-u USER[:GRP]] [-r REALM] [-h HOME] or httpd -d/-e/-m STRING

Listen for incoming HTTP requests

:
hwclock
hwclock [-r|--show] [-s|--hctosys] [-w|--systohc] [-t|--systz] [-l|--localtime] [-u|--utc] [-f|--rtc FILE]

Query and set hardware clock (RTC)

:
id
id [OPTIONS] [USER]

Print information about USER or the current user

:
ifconfig
ifconfig [-a] interface [address]

Configure a network interface

:
init
init

Init is the first process started during boot. It never exits. It (re)spawns children according to /etc/inittab.

:

insmod
insmod FILE [SYMBOL=VALUE]...

Load the specified kernel modules into the kernel

:

ionice
ionice [-c 1-3] [-n 0-7] [-p PID] [PROG]

Change I/O priority and class

:
ip
ip [OPTIONS] {address | route | link | tunnel | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND} where OBJECT := {address | route | link | tunnel | rule} OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

:

ipcalc
ipcalc [OPTIONS] ADDRESS[[/]NETMASK] [NETMASK]

Calculate IP network settings from a IP address

:
kill
kill [-l] [-SIG] PID...

Send a signal (default: TERM) to given PIDs

:
killall
killall [-l] [-q] [-SIG] PROCESS_NAME...

Send a signal (default: TERM) to given processes

:
klogd
klogd [-c N] [-n]

Kernel logger

:
last
last

Show listing of the last users that logged into the system

:

less
less [-EMmNh~I?] [FILE]...

View FILE (or stdin) one screenful at a time

:
ln
ln [OPTIONS] TARGET... LINK|DIR

Create a link LINK or DIR/TARGET to the specified TARGET(s)

:
loadfont
loadfont < font

Load a console font from stdin

:

loadkmap
loadkmap < keymap

Load a binary keyboard translation table from stdin

:

logger
logger [OPTIONS] [MESSAGE]

Write MESSAGE (or stdin) to syslog

:
login
login [-p] [-h HOST] [[-f] USER]

Begin a new session on the system

:
logname
logname

Print the name of the current user

:

logread
logread [-f]

Show messages in syslogd's circular buffer

:
losetup
losetup [-r] [-o OFS] {-f|LOOPDEV} FILE - associate loop devices losetup -d LOOPDEV - disassociate
losetup -a - show status
losetup -f - show next free loop device
:
ls
ls [-1AaCxdLHRFplinsehrSXvctu] [-w WIDTH] [FILE]...

List directory contents

:
lsmod
lsmod

List the currently loaded kernel modules

:

lzcat
lzcat [FILE]...

Decompress to stdout

:

lzma
lzma -d [-cf] [FILE]...

Decompress FILE (or stdin)

:
lzop
lzop [-cfvd123456789CF] [FILE]...
:
lzopcat
lzopcat [-vCF] [FILE]...
:
md5sum
md5sum [-c[sw]] [FILE]...

Print or check MD5 checksums

:
mdev
mdev [-s]

mdev -s is to be run during boot to scan /sys and populate /dev.

Bare mdev is a kernel hotplug helper. To activate it: echo /sbin/mdev >/proc/sys/kernel/hotplug
It uses /etc/mdev.conf with lines [-][ENV=regex;]...DEVNAME UID:GID PERM [>|=PATH]|[!] ,minor[-minor2], or environment variable regex. A common use of the latter is to load modules for hotplugged devices:
If /dev/mdev.seq file exists, mdev will wait for its value to match variable. This prevents plug/unplug races. To activate this feature, create empty /dev/mdev.seq at boot.

If /dev/mdev.log file exists, debug log will be appended to it.

:

microcom
microcom [-d DELAY] [-t TIMEOUT] [-s SPEED] [-X] TTY

Copy bytes for stdin to TTY and from TTY to stdout

:
mkdir
mkdir [OPTIONS] DIRECTORY...

Create DIRECTORY

:
mkfifo
mkfifo [-m MODE] NAME

Create named pipe

:
mknod
mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

:
mkswap
mkswap [-L LBL] BLOCKDEV [KBYTES]

Prepare BLOCKDEV to be used as swap partition

:
mktemp
mktemp [-dt] [-p DIR] [TEMPLATE]

Create a temporary file with name based on TEMPLATE and print its name. TEMPLATE must end with XXXXXX (e.g. [/dir/]nameXXXXXX). Without TEMPLATE, -t tmp.XXXXXX is assumed.

Base directory is: -p DIR, else , else /tmp

:

modinfo
modinfo [-adlp0] [-F keyword] MODULE
:
modprobe
modprobe [-alrqvsDb] MODULE [symbol=value]...
:
more
more [FILE]...

View FILE (or stdin) one screenful at a time

:

mount
mount [OPTIONS] [-o OPTS] DEVICE NODE

Mount a filesystem. Filesystem autodetection requires /proc.

There are filesystem-specific -o flags.

:

mt
mt [-f device] opcode value

Control magnetic tape drive operation

Available Opcodes:

bsf bsfm bsr bss datacompression drvbuffer eof eom erase fsf fsfm fsr fss load lock mkpart nop offline ras1 ras2 ras3 reset retension rewind rewoffline seek setblk setdensity setpart tell unload unlock weof wset

:

mv
mv [-fin] SOURCE DEST or: mv [-fin] SOURCE... DIRECTORY

Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY

:
nameif
nameif [-s] [-c FILE] [IFNAME HWADDR]...

Rename network interface while it in the down state. The device with address HWADDR is renamed to IFACE.

:
nc
nc [-iN] [-wN] [-l] [-p PORT] [-f FILE|IPADDR PORT] [-e PROG]

Open a pipe to IP:PORT or FILE

:
netstat
netstat [-ral] [-tuwx] [-en]

Display networking information

:
nslookup
nslookup [HOST] [SERVER]

Query the nameserver for the IP address of the given HOST optionally using a specified DNS server

:

od
od [-abcdfhilovxs] [-t TYPE] [-A RADIX] [-N SIZE] [-j SKIP] [-S MINSTR] [-w WIDTH] [FILE]...

Print FILEs (or stdin) unambiguously, as octal bytes by default

:

openvt
openvt [-c N] [-sw] [PROG ARGS]

Start PROG on a new virtual terminal

:
patch
patch [OPTIONS] [ORIGFILE [PATCHFILE]]
:
pidof
pidof [NAME]...

List PIDs of all processes with names that match NAMEs

:

ping
ping [OPTIONS] HOST

Send ICMP ECHO_REQUEST packets to network hosts

:
ping6
ping6 [OPTIONS] HOST

Send ICMP ECHO_REQUEST packets to network hosts

:
pivot_root
pivot_root NEW_ROOT PUT_OLD

Move the current root file system to PUT_OLD and make NEW_ROOT the new root file system

:

poweroff
poweroff [-d DELAY] [-n] [-f]

Halt and shut off power

:
printf
printf FORMAT [ARG]...

Format and print ARG(s) according to FORMAT (a-la C printf)

:

ps
ps [-o COL1,COL2=HEADER] [-T]

Show list of processes

:
pwd
pwd

Print the full filename of the current working directory

:

rdate
rdate [-sp] HOST

Get and possibly set the system date/time from a remote HOST

:
readlink
readlink [-fnv] FILE

Display the value of a symlink

:
realpath
realpath FILE...

Return the absolute pathnames of given FILE

:

reboot
reboot [-d DELAY] [-n] [-f]

Reboot the system

:
renice
renice {{-n INCREMENT} | PRIORITY} [[-p | -g | -u] ID...]

Change scheduling priority for a running process

:
reset
reset

Reset the screen

:

rev
rev [FILE]...

Reverse lines of FILE

:

rm
rm [-irf] FILE...

Remove (unlink) FILEs

:
rmdir
rmdir [OPTIONS] DIRECTORY...

Remove DIRECTORY if it is empty

:
rmmod
rmmod [-wfa] [MODULE]...

Unload kernel modules

:
route
route [{add|del|delete}]

Edit kernel routing tables

:
rpm
rpm -i PACKAGE.rpm; rpm -qp[ildc] PACKAGE.rpm

Manipulate RPM packages

Commands:

:
rpm2cpio
rpm2cpio package.rpm

Output a cpio archive of the rpm file

:

run-parts
run-parts [-a ARG]... [-u UMASK] [--reverse] [--test] [--exit-on-error] DIRECTORY

Run a bunch of scripts in DIRECTORY

:
sed
sed [-inrE] [-f FILE]... [-e CMD]... [FILE]... or: sed [-inrE] CMD [FILE]...

If no -e or -f, the first non-option argument is the sed command string. Remaining arguments are input files (stdin if none).

:

seq
seq [-w] [-s SEP] [FIRST [INC]] LAST

Print numbers from FIRST to LAST, in steps of INC. FIRST, INC default to 1.

:
setkeycodes
setkeycodes SCANCODE KEYCODE...

Set entries into the kernel's scancode-to-keycode map, allowing unusual keyboards to generate usable keycodes.

SCANCODE may be either xx or e0xx (hexadecimal), and KEYCODE is given in decimal.

:

setsid
setsid PROG ARGS

Run PROG in a new session. PROG will have no controlling terminal and will not be affected by keyboard signals (Ctrl-C etc). See setsid?(2) for details.

:

sh
sh [-/+OPTIONS] [-/+o OPT]... [-c 'SCRIPT' [ARG0 [ARGS]] / FILE [ARGS]]

Unix shell interpreter

:

sha1sum
sha1sum [-c[sw]] [FILE]...

Print or check SHA1 checksums

:
sha256sum
sha256sum [-c[sw]] [FILE]...

Print or check SHA256 checksums

:
sha512sum
sha512sum [-c[sw]] [FILE]...

Print or check SHA512 checksums

:
sleep
sleep [N]...

Pause for a time equal to the total of the args given, where each arg can have an optional suffix of (s)econds, (m)inutes, (h)ours, or (d)ays

:

sort
sort [-nrugMcszbdfimSTokt] [-o FILE] [-k start[.offset][opts][,end[.offset][opts]] [-t CHAR] [FILE]...

Sort lines of text

:
start-stop-daemon
start-stop-daemon [OPTIONS] [-S|-K] ... [-- ARGS...]

Search for matching processes, and then -K: stop all matching processes. -S: start a process unless a matching process is found.

Process matching:

:
stat
stat [OPTIONS] FILE...

Display file (default) or filesystem status

Valid format sequences for files:

Valid format sequences for file systems:

:
strings
strings [-afo] [-n LEN] [FILE]...

Display printable strings in a binary file

:
stty
stty [-a|g] [-F DEVICE] [SETTING]...

Without arguments, prints baud rate, line discipline, and deviations from stty sane

:
swapoff
swapoff [-a] [DEVICE]

Stop swapping on DEVICE

:
swapon
swapon [-a] [DEVICE]

Start swapping on DEVICE

:
switch_root
switch_root [-c /dev/console] NEW_ROOT NEW_INIT [ARGS]

Free initramfs and switch to another root fs:

chroot to NEW_ROOT, delete all in /, move NEW_ROOT to /, execute NEW_INIT. PID must be 1. NEW_ROOT must be a mountpoint.

:
sync
sync

Write all buffered blocks to disk

:

sysctl
sysctl [OPTIONS] [KEY[=VALUE]]...

Show/set kernel parameters

:
syslogd
syslogd [OPTIONS]

System logging utility (this version of syslogd ignores /etc/syslog.conf)

:
tac
tac [FILE]...

Concatenate FILEs and print them in reverse

:

tail
tail [OPTIONS] [FILE]...

Print last 10 lines of each FILE (or stdin) to stdout. With more than one FILE, precede each with a filename header.

N may be suffixed by k (x1024), b (x512), or m (x1024^2).

:

tar
tar -[cxtZzJjahmvO] [-f TARFILE] [-C DIR] [FILE]...

Create, extract, or list files from a tar file

Operation:

:
taskset
taskset [-p] [MASK] [PID | PROG ARGS]

Set or get CPU affinity

:
tee
tee [-ai] [FILE]...

Copy stdin to each FILE, and also to stdout

:
telnet
telnet [-a] [-l USER] HOST [PORT]

Connect to telnet server

:
test
test EXPRESSION ]

Check file types, compare values etc. Return a 0/1 exit code depending on logical value of EXPRESSION

:

tftp
tftp [OPTIONS] HOST [PORT]

Transfer a file from/to tftp server

:
time
time [-v] PROG ARGS

Run PROG, display resource usage when it exits

:
timeout
timeout [-t SECS] [-s SIG] PROG ARGS

Runs PROG. Sends SIG to it if it is not gone in SECS seconds. Defaults: SECS: 10, SIG: TERM.

:

top
top [-b] [-nCOUNT] [-dSECONDS]

Provide a view of process activity in real time. Read the status of all processes from /proc each SECONDS and display a screenful of them. Keys:

Options:

:
touch
touch [-c] [-d DATE] [-t DATE] [-r FILE] FILE...

Update the last-modified date on the given FILE[s]

:
tr
tr [-cds] STRING1 [STRING2]

Translate, squeeze, or delete characters from stdin, writing to stdout

:
traceroute
traceroute [-46FIldnrv] [-f 1ST_TTL] [-m MAXTTL] [-p PORT] [-q PROBES] [-s SRC_IP] [-t TOS] [-w WAIT_SEC] [-g GATEWAY] [-i IFACE]
[-z PAUSE_MSEC] HOST [BYTES]

Trace the route to HOST

:
traceroute6
traceroute6 [-dnrv] [-m MAXTTL] [-p PORT] [-q PROBES] [-s SRC_IP] [-t TOS] [-w WAIT_SEC] [-i IFACE]
HOST [BYTES]

Trace the route to HOST

:
true
true

Return an exit code of TRUE \fIs0(0)

:

tty
tty

Print file name of stdin's terminal

:
udhcpc
udhcpc [-fbqaRB] [-t N] [-T SEC] [-A SEC/-n] [-i IFACE] [-s PROG] [-p PIDFILE]
[-oC] [-r IP] [-V VENDOR] [-F NAME] [-x OPT:VAL]... [-O OPT]...
:
udhcpd
udhcpd [-fS] [-I ADDR] [CONFFILE]

DHCP server

:
umount
umount [OPTIONS] FILESYSTEM|DIRECTORY

Unmount file systems

:
uname
uname [-amnrspv]

Print system information

:
uncompress
uncompress [-cf] [FILE]...

Decompress .Z file[s]

:
unexpand
unexpand [-fa][-t N] [FILE]...

Convert spaces to tabs, writing to stdout

:
uniq
uniq [-cdu][-f,s,w N] [INPUT [OUTPUT]]

Discard duplicate lines

:
unix2dos
unix2dos [-ud] [FILE]

Convert FILE in-place from Unix to DOS format. When no file is given, use stdin/stdout.

:
unlzma
unlzma [-cf] [FILE]...

Decompress FILE (or stdin)

:
unlzop
unlzop [-cfvCF] [FILE]...
:
unxz
unxz [-cf] [FILE]...

Decompress FILE (or stdin)

:
unzip
unzip [-lnopq] FILE[.zip] [FILE]... [-x FILE...] [-d DIR]

Extract FILEs from ZIP archive

:
uptime
uptime

Display the time since the last boot

:

usleep
usleep N

Pause for N microseconds

:

uudecode
uudecode [-o OUTFILE] [INFILE]

Uudecode a file Finds OUTFILE in uuencoded source unless -o is given

:

uuencode
uuencode [-m] [FILE] STORED_FILENAME

Uuencode FILE (or stdin) to stdout

:
vconfig
vconfig COMMAND [OPTIONS]

Create and remove virtual ethernet devices

:
vi
vi [OPTIONS] [FILE]...

Edit FILE

:
watch
watch [-n SEC] [-t] PROG ARGS

Run PROG periodically

:
watchdog
watchdog [-t N[ms]] [-T N[ms]] [-F] DEV

Periodically write to watchdog device DEV

Use 500ms to specify period in milliseconds

:

wc
wc [-cmlwL] [FILE]...

Count lines, words, and bytes for each FILE (or stdin)

:
wget
wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE] [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
[-U|--user-agent AGENT] URL...

Retrieve files via HTTP or FTP

:
which
which [COMMAND]...

Locate a COMMAND

:

who
who [-a]

Show who is logged on

:
whoami
whoami

Print the user name associated with the current effective user id

:

xargs
xargs [OPTIONS] [PROG ARGS]

Run PROG on every item given by stdin

:
xz
xz -d [-cf] [FILE]...

Decompress FILE (or stdin)

:
xzcat
xzcat [FILE]...

Decompress to stdout

:

yes
yes [STRING]

Repeatedly output a line with STRING, or 'y'

:

zcat
zcat [FILE]...

Decompress to stdout

:

LIBC NSS

GNU Libc (glibc) uses the Name Service Switch (NSS) to configure the behavior of the C library for the local environment, and to configure how it reads system data, such as passwords and group information. This is implemented using an /etc/nsswitch.conf configuration file, and using one or more of the /lib/libnss_* libraries. BusyBox tries to avoid using any libc calls that make use of NSS. Some applets however, such as login and su, will use libc functions that require NSS.

If you enable CONFIG_USE_BB_PWD_GRP, BusyBox will use internal functions to directly access the /etc/passwd, /etc/group, and /etc/shadow files without using NSS. This may allow you to run your system without the need for installing any of the NSS configuration files and libraries.

When used with glibc, the BusyBox 'networking' applets will similarly require that you install at least some of the glibc NSS stuff (in particular, /etc/nsswitch.conf, /lib/libnss_dns*, /lib/libnss_files*, and /lib/libresolv*).

Shameless Plug: As an alternative, one could use a C library such as uClibc. In addition to making your system significantly smaller, uClibc does not require the use of any NSS support files or libraries.

MAINTAINER

Denis Vlasenko <[email protected]>

AUTHORS

The following people have contributed code to BusyBox whether they know it or not. If you have written code included in BusyBox, you should probably be listed here so you can obtain your bit of eternal glory. If you should be listed here, or the description of what you have done needs more detail, or is incorrect, please send in an update.

Emanuele Aina <[email protected]>

    run-parts

Erik Andersen <[email protected]>

Laurence Anderson <[email protected]>

Jeff Angielski <[email protected]>

Edward Betts <[email protected]>

John Beppu <[email protected]>

Brian Candler <[email protected]>

Randolph Chung <[email protected]>

Dave Cinege <[email protected]>

Jordan Crouse <[email protected]>

Magnus Damm <[email protected]>

Larry Doolittle <[email protected]>

Glenn Engel <[email protected]>

Gennady Feldman <[email protected]>

Karl M. Hegbloom <[email protected]>

Daniel Jacobowitz <[email protected]>

Matt Kraai <[email protected]>

Stephan Linz <[email protected]>

John Lombardo <[email protected]>

Glenn McGrath <[email protected]>

Manuel Novoa III <[email protected]>

Vladimir Oleynik <[email protected]>

Bruce Perens <[email protected]>

Tim Riker <[email protected]>

Kent Robotti <[email protected]>

Chip Rosenthal <[email protected]>, <[email protected]>

Pavel Roskin <[email protected]>

Gyepi Sam <[email protected]>

Linus Torvalds <[email protected]>

Mark Whitley <[email protected]>

Charles P. Wright <[email protected]>

Enrique Zanardi <[email protected]>

Tito Ragusa <[email protected]>

Paul Fox <[email protected]>

Roberto A. Foglietta <[email protected]>

Bernhard Reutner-Fischer <[email protected]>

Mike Frysinger <[email protected]>

Jie Zhang <[email protected]>


Index

NAME

SYNTAX

DESCRIPTION

USAGE

COMMON OPTIONS

COMMANDS

COMMAND DESCRIPTIONS

LIBC NSS

MAINTAINER

AUTHORS


More Man Pages