NAME
BusyBox - The Swiss Army Knife of Embedded Linux
SYNTAX
busybox <applet> [arguments...] # or
<applet> [arguments...] # if symlinked
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
/bin/busybox ls
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
ln -s /bin/busybox ls
./ls
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:
[, [[, addgroup, adduser, adjtimex, ar, arp, arping, ash, awk,
basename, bbconfig, bbsh, blkid, brctl, bunzip2, busybox, bzcat,
bzip2, cal, cat, catv, chat, chattr, chcon, chgrp, chmod, chown,
chpasswd, chpst, chroot, chrt, chvt, cksum, clear, cmp, comm, cp,
cpio, crond, crontab, cryptpw, cttyhack, cut, date, dc, dd,
deallocvt, delgroup, deluser, depmod, devfsd, devmem, df,
dhcprelay, diff, dirname, dmesg, dnsd, dos2unix, dpkg, dpkg_deb,
du, dumpkmap, dumpleases, e2fsck, echo, ed, egrep, eject, env,
envdir, envuidgid, ether_wake, expand, expr, fakeidentd, false,
fbset, fbsplash, fdflush, fdformat, fdisk, fgrep, find, findfs,
fold, free, freeramdisk, fsck, fsck_minix, ftpget, ftpput, fuser,
getenforce, getopt, getsebool, getty, grep, gunzip, gzip, halt,
hd, hdparm, head, hexdump, hostid, hostname, httpd, hush,
hwclock, id, ifconfig, ifdown, ifenslave, ifup, inetd, init,
inotifyd, insmod, install, ip, ipaddr, ipcalc, ipcrm, ipcs,
iplink, iproute, iprule, iptunnel, kbd_mode, kill, killall,
killall5, klogd, lash, last, length, less, linux32, linux64,
linuxrc, ln, load_policy, loadfont, loadkmap, logger, login,
logname, logread, losetup, lpd, lpq, lpr, ls, lsattr, lsmod,
lzmacat, makedevs, makemime, man, matchpathcon, md5sum, mdev,
mesg, microcom, mkdir, mke2fs, mkfifo, mkfs_minix, mknod, mkswap,
mktemp, modprobe, more, mount, mountpoint, msh, mt, mv, nameif,
nc, netstat, nice, nmeter, nohup, nslookup, od, openvt, parse,
passwd, patch, pgrep, pidof, ping, ping6, pipe_progress,
pivot_root, pkill, popmaildir, poweroff, printenv, printf, ps,
pscan, pwd, raidautorun, rdate, rdev, readahead, readlink,
readprofile, realpath, reboot, reformime, renice, reset, resize,
restorecon, rm, rmdir, rmmod, route, rpm, rpm2cpio, rtcwake,
run_parts, runcon, runlevel, runsv, runsvdir, rx, script, sed,
selinuxenabled, sendmail, seq, sestatus, setarch, setconsole,
setenforce, setfiles, setfont, setkeycodes, setlogcons,
setsebool, setsid, setuidgid, sh, sha1sum, showkey, slattach,
sleep, softlimit, sort, split, start_stop_daemon, stat, strings,
stty, su, sulogin, sum, sv, svlogd, swapoff, swapon, switch_root,
sync, sysctl, syslogd, tac, tail, tar, taskset, tc, tcpsvd, tee,
telnet, telnetd, test, tftp, tftpd, time, top, touch, tr,
traceroute, true, tty, ttysize, tune2fs, udhcpc, udhcpd, udpsvd,
umount, uname, uncompress, unexpand, uniq, unix2dos, unlzma,
unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, vlock,
watch, watchdog, wc, wget, which, who, whoami, xargs, yes, zcat, zcip
COMMAND DESCRIPTIONS
addgroup
addgroup [-g GID] [user_name] group_name
Add a group or add an user to a group
Options:
-g GID Group id
adduser
adduser [OPTIONS] user_name
Add an user
Options:
-h DIR Home directory
-g GECOS GECOS field
-s SHELL Login shell
-G GROUP Add user to existing group
-S Create a system user
-D Do not assign a password
-H Do not create home directory
adjtimex
adjtimex [-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]
Read and optionally set system timebase parameters. See adjtimex(2).
Options:
-q Quiet
-o offset Time offset, microseconds
-f frequency Frequency adjust, integer kernel units (65536 is 1ppm)
(positive values make clock run faster)
-t tick Microseconds per tick, usually 10000
-p timeconstant
ar ar [-o] [-v] [-p] [-t] [-x] ARCHIVE FILES
Extract or list FILES from an ar archive
Options:
-o Preserve original dates
-p Extract to stdout
-t List
-x Extract
-v Verbose
arp arp [-vn] [-H type] [-i if]
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
busybox在real6410(s3c6410)上移植源代码 (1357个子文件)
BusyBox.1 177KB
README.ash 48B
AUTHORS 5KB
checkhelp.awk 942B
basename-does-not-remove-identical-extension 40B
basename-works 56B
bb_release 1KB
bloat-o-meter 2KB
sample.bound 619B
Makefile.build 10KB
bunzip2-reads-from-standard-input 68B
bunzip2-removes-compressed-file 68B
susv3_doc.tar.bz2 70KB
awk_t1.tar.bz2 16KB
unzip_doc.txt.bz2 11KB
bzcat-does-not-remove-compressed-file 64B
e2fsck.c 355KB
ash.c 297KB
hush.c 131KB
vi.c 106KB
msh.c 102KB
modutils-24.c 95KB
fdisk.c 73KB
hdparm.c 70KB
httpd.c 66KB
gzip.c 64KB
awk.c 63KB
dpkg.c 54KB
devfsd.c 54KB
mount.c 47KB
less.c 47KB
inetd.c 46KB
lineedit.c 45KB
stty.c 42KB
gconf.c 41KB
lash_unused.c 39KB
traceroute.c 38KB
od_bloaty.c 37KB
decompress_unzip.c 35KB
sed.c 35KB
mke2fs.c 34KB
ifupdown.c 34KB
fsck_minix.c 32KB
diff.c 31KB
tar.c 30KB
interface.c 30KB
fdisk_osf.c 29KB
top.c 29KB
nc_bloaty.c 29KB
fsck.c 28KB
mconf.c 27KB
ls.c 26KB
svlogd.c 26KB
expr.c 25KB
pwd_grp.c 25KB
init.c 25KB
fdisk_sgi.c 25KB
decompress_bunzip2.c 24KB
find.c 24KB
getty.c 24KB
fsck.c 24KB
blocksort.c 24KB
wget.c 23KB
pw_encrypt_des.c 22KB
crond.c 22KB
ping.c 22KB
iproute.c 21KB
modprobe-small.c 21KB
appletlib.c 21KB
tftp.c 20KB
fdisk_sun.c 20KB
dump.c 20KB
probe.c 20KB
stat.c 19KB
inode.c 19KB
nmeter.c 19KB
tune2fs.c 19KB
ed.c 19KB
grep.c 19KB
mkfs_minix.c 19KB
getopt32.c 19KB
ipaddress.c 18KB
dhcpc.c 18KB
tcpudp.c 18KB
pw_encrypt_md5.c 18KB
syslogd.c 18KB
netstat.c 18KB
compress.c 18KB
symbol.c 17KB
route.c 17KB
telnetd.c 17KB
unix_io.c 17KB
ipcs.c 17KB
ifenslave.c 17KB
test.c 16KB
ifconfig.c 16KB
setfiles.c 16KB
unzip.c 15KB
sv.c 15KB
runsv.c 15KB
共 1357 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14
资源评论
jsh020410221
- 粉丝: 0
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功