3 busybox - I am BusyBox of Borg. Unix will be assimilated.
7 busybox <function> [arguments...] # or
9 <function> [arguments...] # if symlinked
13 BusyBox is a multi-call binary that combines many common Unix utilities into a
14 single executable. Most people will create a symlink to busybox for each
15 function name, and BusyBox will act like whatever you invoke it as.
17 BusyBox has been written with size-optimization in mind. It is very easy to
18 include or exclude the commands you want installed. BusyBox tries to make
19 itself useful to small systems with limited resources.
23 Currently defined functions:
24 busybox, cat, chmod, chown, chgrp, chroot, clear, chvt, cp, date,
25 dd, df, dmesg, du, fbset, find, free, deallocvt, fsck.minix, mkfs.minix,
26 grep, head, hostname, init, linuxrc, kill, ln, ls, lsmod, mkdir,
27 mknod, mkswap, more, mount, mv, ping, poweroff, ps, pwd, reboot,
28 rm, rmdir, sed, sleep, sort, sync, syslogd, swapon, swapoff, tail,
29 tar, tee, touch, true, false, uname, umount, uniq, update, zcat,
41 Usage: chmod [-R] MODE[,MODE]... FILE...
43 Each MODE is one or more of the letters ugoa, one of the symbols +-= and
44 one or more of the letters rwxst.
48 -R change files and directories recursively.
53 Usage: chown [OPTION]... OWNER[.[GROUP] FILE...
55 Change the owner and/or group of each FILE to OWNER and/or GROUP.
59 -R change files and directories recursively
64 Usage: chgrp [OPTION]... GROUP FILE...
66 Change the group membership of each FILE to GROUP.
70 -R change files and directories recursively
75 Usage: chroot NEWROOT [COMMAND...]
77 Run COMMAND with root directory set to NEWROOT.
88 Change foreground virtual terminal to /dev/ttyN
93 Usage: cp [OPTION]... SOURCE DEST
95 or: cp [OPTION]... SOURCE... DIRECTORY
97 Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
101 -p preserve file attributes if possible
102 -R copy directories recursively
111 Usage: dd [if=name] [of=name] [bs=n] [count=n]
113 Copy a file, converting and formatting according to options
115 if=FILE read from FILE instead of stdin
116 of=FILE write to FILE instead of stout
117 bs=n read and write N BYTES at a time
118 count=n copy only n input blocks
119 BYTES may be suffixed by w (x2), k (x1024), b (x512), or m (x1024^2).
128 Usage: dmesg [-c] [-n level] [-s bufsize]
133 Usage: Usage: du [OPTION]... [FILE]...
135 -s display only a total for each argument
140 Usage: fbset [options] [mode]
160 Usage: find [PATH...] [EXPRESSION]
162 Search for files in a directory hierarchy. The default PATH is
163 the current directory; default EXPRESSION is '-print'
165 EXPRESSION may consist of:
168 Dereference symbolic links.
170 File name (with leading directories removed) matches PATTERN.
172 print the full file name followed by a newline to stdout.
173 This version of find matches full regular expresions.
183 Deallocate unused virtual terminal /dev/ttyN
188 Usage: fsck.minix [-larvsmf] /dev/name
190 Performs a consistency check for MINIX filesystems.
194 -l Lists all filenames
195 -r Perform interactive repairs
196 -a Perform automatic repairs
198 -s Outputs super-block information
199 -m Activates MINIX-like "mode not cleared" warnings
200 -f Force file system check.
205 Usage: mkfs.minix [-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]
207 Make a MINIX filesystem.
211 -c Check the device for bad blocks
212 -n [14|30] Specify the maximum length of filenames
213 -i Specify the number of inodes for the filesystem
214 -l FILENAME Read the bad blocks list from FILENAME
215 -v Make a Minix version 2 filesystem
224 Usage: Usage: head [FILE]...
226 Print first 10 lines of each FILE to standard output.
227 With more than one FILE, precede each with a header giving the
228 file name. With no FILE, or when FILE is -, read standard input.
233 Usage: hostname [OPTION] {hostname | -F file}
235 Get or set the hostname or DNS domain name. If a hostname is given
236 (or a file with the -F parameter), the host name will be set.
241 -i Addresses for the hostname
243 -F FILE Use the contents of FILE to specify the hostname
252 Usage: ln [OPTION] TARGET... LINK_NAME|DIRECTORY
253 Create a link named LINK_NAME or DIRECTORY to the specified TARGET
257 -s make symbolic links instead of hard links
258 -f remove existing destination files
263 Usage: ls [-1acdelnpuxACF] [filenames...]
272 Usage: Usage: mkdir [OPTION] DIRECTORY...
273 Create the DIRECTORY(ies), if they do not already exist
277 -m set permission mode (as in chmod), not rwxrwxrwx - umask
278 -p no error if existing, make parent directories as needed
283 Usage: mknod NAME TYPE MAJOR MINOR
284 Make block or character special files.
288 b: Make a block (buffered) device.
289 c or u: Make a character (un-buffered) device.
290 p: Make a named pipe. Major and minor are ignored for named pipes.
295 Usage: mkswap [-c] [-v0|-v1] device [block-count]
296 Prepare a disk partition to be used as a swap partition.
300 -c Check for read-ability.
301 -v0 Make version 0 swap [max 128 Megs].
302 -v1 Make version 1 swap [big!] (default for kernels > 2.1.117).
303 block-count Number of block to use (default is entire partition).
308 Usage: more [file ...]
315 mount [flags] device directory [-o options,more-options]
318 -a: Mount all file systems in fstab.
319 -o option: One of many filesystem options, listed below.
320 -r: Mount the filesystem read-only.
321 -t filesystem-type: Specify the filesystem type.
322 -w: Mount for reading and writing (default).
323 Options for use with the "-o" flag:
324 async / sync: Writes are asynchronous / synchronous.
325 dev / nodev: Allow use of special device files / disallow them.
326 exec / noexec: Allow use of executable files / disallow them.
327 loop: Mounts a file via loop device.
328 suid / nosuid: Allow set-user-id-root programs / disallow them.
329 remount: Re-mount a currently-mounted filesystem, changing its flags.
330 ro / rw: Mount for read-only / read-write.
332 There are EVEN MORE flags that are specific to each filesystem.
333 You'll have to see the written documentation for those.
338 Usage: mv SOURCE DEST
340 or: mv SOURCE... DIRECTORY
342 Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY.
357 Report process status.
358 This version of ps accepts no options.
371 Usage: rm [OPTION]... FILE...
372 Remove (unlink) the FILE(s).
376 -f remove existing destinations, never prompt
377 -r or -R remove the contents of directories recursively
382 Usage: rmdir [OPTION]... DIRECTORY...
383 Remove the DIRECTORY(ies), if they are empty.
388 Usage: sed [-n] -e script [file...]
389 Allowed sed scripts come in the following form:
392 where address ADDR can be:
393 NUMBER Match specified line number
395 /REGEXP/ Match specified regexp
396 (! inverts the meaning of the match)
398 s/regexp/replacement/[igp]
399 which attempt to match regexp against the pattern space
400 and if successful replaces the matched portion with replacement.
402 which appends TEXT after the pattern space
406 -e add the script to the commands to be executed
407 -n suppress automatic printing of pattern space
409 This version of sed matches full regular expresions.
421 Usage: Usage: sort [OPTION]... [FILE]...
428 Write all buffered filesystem blocks to disk.
433 Usage: syslogd [OPTION]...
435 Linux system and kernel (provides klogd) logging utility.
436 Note that this version of syslogd/klogd ignores /etc/syslog.conf.
440 -m Change the mark timestamp interval. default=20min. 0=off
441 -n Do not fork into the background (for when run by init)
442 -K Do not start up the klogd process (by default syslogd spawns klogd).
443 -O Specify an alternate log file. default=/var/log/messages
450 Start swapping virtual memory pages on the given device.
455 Usage: swapoff device
457 Stop swapping virtual memory pages on the given device.
462 Usage: tail [OPTION]... [FILE]...
464 Print last 10 lines of each FILE to standard output.
465 With more than one FILE, precede each with a header giving the file name.
466 With no FILE, or when FILE is -, read standard input.
468 -c=N[kbm] output the last N bytes
469 -f output appended data as the file grows
470 -n=N output the last N lines, instead of last 10
471 -q never output headers giving file names
472 -v always output headers giving file names
473 --help display this help and exit
475 If the first character of N (bytes or lines) is a `+', output begins with
476 the Nth item from the start of each file, otherwise, print the last N items
477 in the file. N bytes may be suffixed by k (x1024), b (x512), or m (1024^2).
486 Usage: tee [OPTION]... [FILE]...
487 Copy standard input to each FILE, and also to standard output.
491 -a append to the given FILEs, do not overwrite
496 Usage: touch [-c] file [file ...]
497 Update the last-modified date on the given file[s].
510 Usage: uname [OPTION]...
511 Print certain system information. With no OPTION, same as -s.
515 -a print all information
516 -m the machine (hardware) type
517 -n print the machine's network node hostname
518 -r print the operating system release
519 -s print the operating system name
520 -p print the host processor type
521 -v print the operating system version
526 Usage: Usage: umount [flags] filesystem|directory
528 -a: Unmount all file systems
533 Usage: Usage: uniq [OPTION]... [INPUT [OUTPUT]]
535 Discard all but one of successive identical lines from INPUT (or
536 standard input), writing to OUTPUT (or standard output).
538 -h display this help and exit
540 A field is a run of whitespace, then non-whitespace characters.
541 Fields are skipped before chars.
546 Usage: gunzip [OPTION]... FILE
548 Uncompress FILE (or standard input if FILE is '-').
552 -c Write output to standard output
553 -t Test compressed file integrity
558 Usage: gunzip [OPTION]... FILE
560 Uncompress FILE (or standard input if FILE is '-').
564 -c Write output to standard output
565 -t Test compressed file integrity
570 Usage: gzip [OPTION]... FILE
572 Compress FILE with maximum compression.
573 When FILE is -, reads standard input. Implies -c.
577 -c Write output to standard output instead of FILE.gz
585 textutils(1), shellutils(1), etc...
589 Erik Andersen <erik@lineo.com>
593 The following people have contributed code to BusyBox whether
596 Erik Andersen <erik@lineo.com>
600 John Beppu <beppu@lineo.com>
604 Brian Candler <B.Candler@pobox.com>
608 Randolph Chung <tausq@debian.org>
612 Dave Cinege <dcinege@psychosis.com>
616 Bruce Perens <bruce@perens.com>
620 Linus Torvalds <torvalds@transmeta.com>
624 Charles P. Wright <cpwright@villagenet.com>
628 Enrique Zanardi <ezanardi@ull.es>