blob: ba88bee0c0b4bfb9157037dc0bec651796bba897 [file] [log] [blame]
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001# vi: set sw=4 ts=4:
John Beppu08e7f752000-04-13 03:22:20 +00002
John Beppu3a1b6be2000-01-18 15:45:59 +00003=head1 NAME
4
Erik Andersencf8d38a2000-04-21 01:23:36 +00005BusyBox - The Swiss Army Knife of Embedded Linux
John Beppu3a1b6be2000-01-18 15:45:59 +00006
Erik Andersencf8d38a2000-04-21 01:23:36 +00007=head1 SYNTAX
John Beppu3a1b6be2000-01-18 15:45:59 +00008
Erik Andersencf8d38a2000-04-21 01:23:36 +00009 BusyBox <function> [arguments...] # or
John Beppu46a4e762000-01-18 22:33:11 +000010
11 <function> [arguments...] # if symlinked
John Beppu3a1b6be2000-01-18 15:45:59 +000012
13=head1 DESCRIPTION
14
Erik Andersencf8d38a2000-04-21 01:23:36 +000015BusyBox combines tiny versions of many common UNIX utilities into a single
16small executable. It provides minimalist replacements for most of the utilities
17you usually find in fileutils, shellutils, findutils, textutils, grep, gzip,
18tar, etc. BusyBox provides a fairly complete POSIX environment for any small
Eric Andersen98cd53e2000-06-16 19:56:44 +000019or embedded system. The utilities in BusyBox generally have fewer options than
Eric Andersenf2fffef2000-06-05 17:23:06 +000020their full-featured GNU cousins; however, the options that are included provide
Pavel Roskin1a804e42000-06-21 21:38:00 +000021the expected functionality and behave very much like their GNU counterparts.
Erik Andersen62dc17a2000-04-13 01:18:23 +000022
Erik Andersencf8d38a2000-04-21 01:23:36 +000023BusyBox has been written with size-optimization and limited resources in mind.
24It is also extremely modular so you can easily include or exclude commands (or
25features) at compile time. This makes it easy to customize your embedded
26systems. To create a working system, just add a kernel, a shell (such as ash),
27and an editor (such as elvis-tiny or ae).
28
29=head1 USAGE
30
31When you create a link to BusyBox for the function you wish to use, when BusyBox
32is called using that link it will behave as if the command itself has been invoked.
33
34For example, entering
35
36 ln -s ./BusyBox ls
Erik Andersen62dc17a2000-04-13 01:18:23 +000037 ./ls
38
39will cause BusyBox to behave as 'ls' (if the 'ls' command has been compiled
Pavel Roskin1a804e42000-06-21 21:38:00 +000040into BusyBox).
Erik Andersen62dc17a2000-04-13 01:18:23 +000041
Erik Andersencf8d38a2000-04-21 01:23:36 +000042You can also invoke BusyBox by issuing the command as an argument on the
43command line. For example, entering
44
45 ./BusyBox ls
Erik Andersen62dc17a2000-04-13 01:18:23 +000046
47will also cause BusyBox to behave as 'ls'.
John Beppu08fe43d2000-01-19 12:39:16 +000048
Erik Anderseneef65802000-04-19 05:12:02 +000049=head1 COMMON OPTIONS
50
51Most BusyBox commands support the B<--help> option to provide a
52terse runtime description of their behavior.
53
John Beppu46a4e762000-01-18 22:33:11 +000054=head1 COMMANDS
55
Erik Andersen62dc17a2000-04-13 01:18:23 +000056Currently defined functions include:
57
Eric Andersencff3fe32000-09-20 19:22:26 +000058ar, basename, cat, chgrp, chmod, chown, chroot, chvt, clear, cp, cut, date, dc,
Glenn L McGrathfa044322001-01-03 01:06:30 +000059dd, deallocvt, df, dirname, dmesg, dos2unix, dpkg-deb, du, dumpkmap, dutmp,
60echo, false, fbset, fdflush, find, free, freeramdisk, fsck.minix, getopt, grep,
61gunzip, gzip, halt, head, hostid, hostname, id, init, insmod, kill, killall,
62length, ln, loadacm, loadfont, loadkmap, logger, logname, ls, lsmod, makedevs,
63mkdir, mkfifo, mkfs.minix, mknod, mkswap, mktemp, more, mount, mt, mv, nc,
64nslookup, ping, poweroff, printf, ps, pwd, rdate, reboot, renice, reset, rm,
65rmdir, rmmod, sed, setkeycodes, sh, sleep, sort, swapoff, swapon, sync, syslogd,
66tail, tar, tee, telnet, test, touch, tr, true, tty, umount, uname, uniq,
67unix2dos, unrpm, update, uptime, usleep, uudecode, uuencode, wc, which, whoami,
68xargs, yes, zcat, [
Erik Andersen62dc17a2000-04-13 01:18:23 +000069
Erik Andersena19bc642000-05-02 06:40:02 +000070-------------------------------
71
John Beppu46a4e762000-01-18 22:33:11 +000072=over 4
73
Eric Andersen86ab8a32000-06-02 03:21:42 +000074=item ar
75
76Usage: ar [optxvV] archive [filenames]
77
78Extract or list files from an ar archive.
79
80Options:
81
82 o preserve original dates
83 p extract to stdout
84 t list
85 x extract
86 v verbosely list files processed
87
88-------------------------------
89
Erik Andersen62dc17a2000-04-13 01:18:23 +000090=item basename
91
Erik Andersenac130e12000-05-10 05:00:31 +000092Usage: basename FILE [SUFFIX]
Erik Andersen62dc17a2000-04-13 01:18:23 +000093
Erik Andersenac130e12000-05-10 05:00:31 +000094Strips directory path and suffixes from FILE.
95If specified, also removes any trailing SUFFIX.
Erik Andersen62dc17a2000-04-13 01:18:23 +000096
Pavel Roskin1a804e42000-06-21 21:38:00 +000097Example:
Erik Andersen62dc17a2000-04-13 01:18:23 +000098
99 $ basename /usr/local/bin/foo
100 foo
101 $ basename /usr/local/bin/
102 bin
Erik Andersenac130e12000-05-10 05:00:31 +0000103 $ basename /foo/bar.txt .txt
104 bar
Erik Andersen62dc17a2000-04-13 01:18:23 +0000105
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000106-------------------------------
107
Erik Andersena6c75222000-04-18 00:00:52 +0000108=item cat
John Beppu46a4e762000-01-18 22:33:11 +0000109
Erik Andersencf8d38a2000-04-21 01:23:36 +0000110Usage: cat [FILE ...]
Erik Andersen62dc17a2000-04-13 01:18:23 +0000111
Erik Andersencf8d38a2000-04-21 01:23:36 +0000112Concatenates FILE(s) and prints them to the standard output.
Erik Andersen62dc17a2000-04-13 01:18:23 +0000113
114Example:
115
116 $ cat /proc/uptime
117 110716.72 17.67
John Beppu4581b4c2000-01-19 15:04:41 +0000118
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000119-------------------------------
120
Erik Andersen5e1189e2000-04-15 16:34:54 +0000121=item chgrp
122
123Usage: chgrp [OPTION]... GROUP FILE...
124
125Change the group membership of each FILE to GROUP.
Erik Andersen26702fe2000-04-17 16:44:46 +0000126
Erik Andersen5e1189e2000-04-15 16:34:54 +0000127Options:
128
129 -R change files and directories recursively
Erik Andersen26702fe2000-04-17 16:44:46 +0000130
Erik Andersen5e1189e2000-04-15 16:34:54 +0000131Example:
132
133 $ ls -l /tmp/foo
134 -r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo
135 $ chgrp root /tmp/foo
136 $ ls -l /tmp/foo
137 -r--r--r-- 1 andersen root 0 Apr 12 18:25 /tmp/foo
138
139-------------------------------
140
John Beppu46a4e762000-01-18 22:33:11 +0000141=item chmod
142
John Beppuf17792c2000-04-13 03:16:01 +0000143Usage: chmod [B<-R>] MODE[,MODE]... FILE...
John Beppu4581b4c2000-01-19 15:04:41 +0000144
Erik Andersencf8d38a2000-04-21 01:23:36 +0000145Changes file access permissions for the specified FILE(s) (or directories).
Erik Andersen62dc17a2000-04-13 01:18:23 +0000146Each MODE is defined by combining the letters for WHO has access to the file,
147an OPERATOR for selecting how the permissions should be changed, and a
Eric Andersen98cd53e2000-06-16 19:56:44 +0000148PERMISSION for FILE(s) (or directories).
Erik Andersen62dc17a2000-04-13 01:18:23 +0000149
Erik Andersencf8d38a2000-04-21 01:23:36 +0000150WHO may be chosen from
Erik Andersen62dc17a2000-04-13 01:18:23 +0000151
Erik Andersencf8d38a2000-04-21 01:23:36 +0000152 u User who owns the file
153 g Users in the file's Group
Erik Andersen62dc17a2000-04-13 01:18:23 +0000154 o Other users not in the file's group
155 a All users
156
Erik Andersencf8d38a2000-04-21 01:23:36 +0000157OPERATOR may be chosen from
Erik Andersen62dc17a2000-04-13 01:18:23 +0000158
Erik Andersencf8d38a2000-04-21 01:23:36 +0000159 + Add a permission
160 - Remove a permission
161 = Assign a permission
Pavel Roskin1a804e42000-06-21 21:38:00 +0000162
Erik Andersencf8d38a2000-04-21 01:23:36 +0000163PERMISSION may be chosen from
Erik Andersen62dc17a2000-04-13 01:18:23 +0000164
Erik Andersencf8d38a2000-04-21 01:23:36 +0000165 r Read
Erik Andersen62dc17a2000-04-13 01:18:23 +0000166 w Write
Erik Andersencf8d38a2000-04-21 01:23:36 +0000167 x Execute (or access for directories)
Erik Andersen62dc17a2000-04-13 01:18:23 +0000168 s Set user (or group) ID bit
Eric Andersen98cd53e2000-06-16 19:56:44 +0000169 t Sticky bit (for directories prevents removing files by non-owners)
Erik Andersen62dc17a2000-04-13 01:18:23 +0000170
Erik Andersencf8d38a2000-04-21 01:23:36 +0000171Alternately, permissions can be set numerically where the first three
172numbers are calculated by adding the octal values, such as
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000173
Erik Andersen62dc17a2000-04-13 01:18:23 +0000174 4 Read
175 2 Write
Erik Andersencf8d38a2000-04-21 01:23:36 +0000176 1 Execute
Erik Andersen62dc17a2000-04-13 01:18:23 +0000177
Erik Andersencf8d38a2000-04-21 01:23:36 +0000178An optional fourth digit can also be used to specify
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000179
Erik Andersen62dc17a2000-04-13 01:18:23 +0000180 4 Set user ID
181 2 Set group ID
Eric Andersen98cd53e2000-06-16 19:56:44 +0000182 1 Sticky bit
Erik Andersen62dc17a2000-04-13 01:18:23 +0000183
John Beppu4581b4c2000-01-19 15:04:41 +0000184Options:
185
Erik Andersencf8d38a2000-04-21 01:23:36 +0000186 -R Change files and directories recursively.
Pavel Roskin1a804e42000-06-21 21:38:00 +0000187
Erik Andersen62dc17a2000-04-13 01:18:23 +0000188Example:
189
190 $ ls -l /tmp/foo
191 -rw-rw-r-- 1 root root 0 Apr 12 18:25 /tmp/foo
192 $ chmod u+x /tmp/foo
193 $ ls -l /tmp/foo
194 -rwxrw-r-- 1 root root 0 Apr 12 18:25 /tmp/foo*
195 $ chmod 444 /tmp/foo
196 $ ls -l /tmp/foo
197 -r--r--r-- 1 root root 0 Apr 12 18:25 /tmp/foo
John Beppu4581b4c2000-01-19 15:04:41 +0000198
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000199-------------------------------
200
John Beppu46a4e762000-01-18 22:33:11 +0000201=item chown
202
Erik Andersencf8d38a2000-04-21 01:23:36 +0000203Usage: chown [OPTION]... OWNER[<.|:>[GROUP] FILE...
John Beppu4581b4c2000-01-19 15:04:41 +0000204
Erik Andersen62dc17a2000-04-13 01:18:23 +0000205Changes the owner and/or group of each FILE to OWNER and/or GROUP.
John Beppu5a50def2000-04-17 17:46:46 +0000206
John Beppu4581b4c2000-01-19 15:04:41 +0000207Options:
208
Erik Andersencf8d38a2000-04-21 01:23:36 +0000209 -R Changes files and directories recursively
Erik Andersen62dc17a2000-04-13 01:18:23 +0000210
211Example:
212
213 $ ls -l /tmp/foo
214 -r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo
215 $ chown root /tmp/foo
216 $ ls -l /tmp/foo
217 -r--r--r-- 1 root andersen 0 Apr 12 18:25 /tmp/foo
218 $ chown root.root /tmp/foo
219 ls -l /tmp/foo
220 -r--r--r-- 1 root root 0 Apr 12 18:25 /tmp/foo
John Beppu4581b4c2000-01-19 15:04:41 +0000221
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000222-------------------------------
223
John Beppu46a4e762000-01-18 22:33:11 +0000224=item chroot
225
John Beppu4581b4c2000-01-19 15:04:41 +0000226Usage: chroot NEWROOT [COMMAND...]
227
228Run COMMAND with root directory set to NEWROOT.
Pavel Roskin1a804e42000-06-21 21:38:00 +0000229
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000230Example:
Erik Andersen62dc17a2000-04-13 01:18:23 +0000231
232 $ ls -l /bin/ls
Erik Andersencf8d38a2000-04-21 01:23:36 +0000233 lrwxrwxrwx 1 root root 12 Apr 13 00:46 /bin/ls -> /BusyBox
Erik Andersen62dc17a2000-04-13 01:18:23 +0000234 $ mount /dev/hdc1 /mnt -t minix
235 $ chroot /mnt
236 $ ls -l /bin/ls
237 -rwxr-xr-x 1 root root 40816 Feb 5 07:45 /bin/ls*
John Beppu4581b4c2000-01-19 15:04:41 +0000238
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000239-------------------------------
240
John Beppu46a4e762000-01-18 22:33:11 +0000241=item chvt
242
John Beppu4581b4c2000-01-19 15:04:41 +0000243Usage: chvt N
244
Erik Andersencf8d38a2000-04-21 01:23:36 +0000245Changes the foreground virtual terminal to /dev/ttyN
John Beppu50ed0672000-04-13 23:44:04 +0000246
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000247-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +0000248
Eric Andersen028fb622000-07-04 20:07:13 +0000249=item clear
250
251Clears the screen.
252
253-------------------------------
254
John Beppu46a4e762000-01-18 22:33:11 +0000255=item cp
256
John Beppu4581b4c2000-01-19 15:04:41 +0000257Usage: cp [OPTION]... SOURCE DEST
258
Erik Andersen62dc17a2000-04-13 01:18:23 +0000259 or: cp [OPTION]... SOURCE... DIRECTORY
John Beppu4581b4c2000-01-19 15:04:41 +0000260
Erik Andersencf8d38a2000-04-21 01:23:36 +0000261Copies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
John Beppu4581b4c2000-01-19 15:04:41 +0000262
Erik Andersene31c0662000-05-02 05:32:07 +0000263Options:
264
Erik Andersencf8d38a2000-04-21 01:23:36 +0000265 -a Same as -dpR
266 -d Preserves links
Eric Andersen98cd53e2000-06-16 19:56:44 +0000267 -p Preserves file attributes if possible
Erik Andersencf8d38a2000-04-21 01:23:36 +0000268 -R Copies directories recursively
John Beppu4581b4c2000-01-19 15:04:41 +0000269
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000270-------------------------------
271
Erik Andersen73c8c9c2000-05-13 05:36:13 +0000272=item cut
273
274Usage: cut [OPTION]... [FILE]...
275
276Prints selected fields from each input FILE to standard output.
277
278Options:
279
Eric Andersen1386e702000-06-26 12:14:30 +0000280 -b LIST Output only bytes from LIST
281 -c LIST Output only characters from LIST
282 -d CHAR Use CHAR instead of tab as the field delimiter
Pavel Roskin0010ee42000-07-21 15:10:57 +0000283 -s Output only the lines containing delimiter
Eric Andersen1386e702000-06-26 12:14:30 +0000284 -f N Print only these fields
285 -n Ignored
Erik Andersen73c8c9c2000-05-13 05:36:13 +0000286
287Example:
288
289 $ echo "Hello world" | cut -f 1 -d ' '
290 Hello
291 $ echo "Hello world" | cut -f 2 -d ' '
292 world
293
294
295-------------------------------
296
John Beppu46a4e762000-01-18 22:33:11 +0000297=item date
298
Erik Andersen62dc17a2000-04-13 01:18:23 +0000299Usage: date [OPTION]... [+FORMAT]
John Beppu4581b4c2000-01-19 15:04:41 +0000300
Erik Andersen62dc17a2000-04-13 01:18:23 +0000301 or: date [OPTION] [MMDDhhmm[[CC]YY][.ss]]
302
Erik Andersencf8d38a2000-04-21 01:23:36 +0000303Displays the current time in the given FORMAT, or sets the system date.
Erik Andersen62dc17a2000-04-13 01:18:23 +0000304
305Options:
Erik Andersene31c0662000-05-02 05:32:07 +0000306
Erik Andersencf8d38a2000-04-21 01:23:36 +0000307 -R Outputs RFC-822 compliant date string
308 -s Sets time described by STRING
309 -u Prints or sets Coordinated Universal Time
Erik Andersen62dc17a2000-04-13 01:18:23 +0000310
311Example:
John Beppuf17792c2000-04-13 03:16:01 +0000312
Erik Andersen62dc17a2000-04-13 01:18:23 +0000313 $ date
314 Wed Apr 12 18:52:41 MDT 2000
John Beppu4581b4c2000-01-19 15:04:41 +0000315
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000316-------------------------------
317
John Beppu00216792000-06-21 19:06:16 +0000318=item dc
319
320Usage: dc expression ...
321
322This is a Tiny RPN calculator that understands the
323following operations: +, -, /, *, and, or, not, eor.
324If no arguments are given, dc will process input from STDIN.
325
326The behaviour of BusyBox/dc deviates (just a little ;-) from
327GNU/dc, but this will be remedied in the future.
328
329Example:
330
331 $ dc 2 2 +
332 4
333 $ dc 8 8 \* 2 2 + /
334 16
335 $ dc 0 1 and
336 0
337 $ dc 0 1 or
338 1
339 $ echo 72 9 div 8 mul | dc
340 64
341
342-------------------------------
343
John Beppu46a4e762000-01-18 22:33:11 +0000344=item dd
345
Erik Andersen62dc17a2000-04-13 01:18:23 +0000346Usage: dd [if=name] [of=name] [bs=n] [count=n] [skip=n] [seek=n]
John Beppu4581b4c2000-01-19 15:04:41 +0000347
348Copy a file, converting and formatting according to options
349
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000350 if=FILE read from FILE instead of stdin
351 of=FILE write to FILE instead of stdout
352 bs=n read and write n bytes at a time
353 count=n copy only n input blocks
354 skip=n skip n input blocks
355 seek=n skip n output blocks
Erik Andersen62dc17a2000-04-13 01:18:23 +0000356
357Numbers may be suffixed by w (x2), k (x1024), b (x512), or M (x1024^2)
Pavel Roskin1a804e42000-06-21 21:38:00 +0000358
Erik Andersen62dc17a2000-04-13 01:18:23 +0000359Example:
360
361 $ dd if=/dev/zero of=/dev/ram1 bs=1M count=4
362 4+0 records in
363 4+0 records out
364
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000365-------------------------------
366
Eric Andersen028fb622000-07-04 20:07:13 +0000367=item deallocvt
368
369Usage: deallocvt N
370
371Deallocates unused virtual terminal /dev/ttyN
372
373-------------------------------
374
John Beppu46a4e762000-01-18 22:33:11 +0000375=item df
376
Erik Andersen62dc17a2000-04-13 01:18:23 +0000377Usage: df [filesystem ...]
378
379Prints the filesystem space used and space available.
380
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000381Example:
Erik Andersen62dc17a2000-04-13 01:18:23 +0000382
383 $ df
384 Filesystem 1k-blocks Used Available Use% Mounted on
385 /dev/sda3 8690864 8553540 137324 98% /
386 /dev/sda1 64216 36364 27852 57% /boot
387 $ df /dev/sda3
388 Filesystem 1k-blocks Used Available Use% Mounted on
389 /dev/sda3 8690864 8553540 137324 98% /
John Beppu4581b4c2000-01-19 15:04:41 +0000390
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000391-------------------------------
392
393=item dirname
394
395Usage: dirname NAME
396
397Strip non-directory suffix from file name
398
399Example:
400
401 $ dirname /tmp/foo
402 /tmp
403 $ dirname /tmp/foo/
404 /tmp
405
406-------------------------------
407
John Beppu46a4e762000-01-18 22:33:11 +0000408=item dmesg
409
John Beppuf17792c2000-04-13 03:16:01 +0000410Usage: dmesg [B<-c>] [B<-n> level] [B<-s> bufsize]
Pavel Roskin1a804e42000-06-21 21:38:00 +0000411
Erik Andersen62dc17a2000-04-13 01:18:23 +0000412Print or controls the kernel ring buffer.
John Beppu4581b4c2000-01-19 15:04:41 +0000413
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000414-------------------------------
415
Eric Andersencff3fe32000-09-20 19:22:26 +0000416=item dos2unix
417
418Usage: dos2unix < dosfile > unixfile
419
420Converts a text file from dos format to unix format.
421
422-------------------------------
423
Glenn L McGrathfa044322001-01-03 01:06:30 +0000424=item dpkg-deb
425
426Usage: dpkg-deb [-cexX] archive-file [directory]
427
428Debian package archive (.deb) manipulation tool
429
430Options:
431
432 -c Lists the contents of the filesystem tree archive
433 portion of the package archive.
434
435 -e Extracts the control information files from a package
436 archive into the specified directory.
437
438 -x Silently extracts the filesystem tree from a package
439 archive into the specified directory.
440
441 -X Extracts the filesystem tree from a package archive
442 into the specified directory, list files as it goes.
443
444Example:
445
446 dpkg-deb -X ./busybox_0.48-1_i386.deb /tmp
447
448-------------------------------
449
John Beppu46a4e762000-01-18 22:33:11 +0000450=item du
451
Erik Andersen62dc17a2000-04-13 01:18:23 +0000452Usage: du [OPTION]... [FILE]...
John Beppu4581b4c2000-01-19 15:04:41 +0000453
Erik Andersen62dc17a2000-04-13 01:18:23 +0000454Summarize disk space used for each FILE and/or directory.
455Disk space is printed in units of 1k (i.e. 1024 bytes).
456
457Options:
John Beppuf17792c2000-04-13 03:16:01 +0000458
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000459 -l count sizes many times if hard linked
460 -s display only a total for each argument
Erik Andersen62dc17a2000-04-13 01:18:23 +0000461
462Example:
463
Erik Andersencf8d38a2000-04-21 01:23:36 +0000464 $ ./BusyBox du
Erik Andersen62dc17a2000-04-13 01:18:23 +0000465 16 ./CVS
466 12 ./kernel-patches/CVS
467 80 ./kernel-patches
468 12 ./tests/CVS
469 36 ./tests
470 12 ./scripts/CVS
471 16 ./scripts
472 12 ./docs/CVS
473 104 ./docs
474 2417 .
Pavel Roskin1a804e42000-06-21 21:38:00 +0000475
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000476-------------------------------
477
Eric Andersen61dc0572000-07-11 17:29:36 +0000478=item dumpkmap
479
480Usage: dumpkmap
481
Eric Andersen337ec1b2000-11-17 17:23:16 +0000482Prints out a binary keyboard translation table to standard output.
Eric Andersen61dc0572000-07-11 17:29:36 +0000483
Eric Andersen18a10142000-09-01 16:12:57 +0000484Example:
485
486 $ dumpkmap > keymap
487
Eric Andersen61dc0572000-07-11 17:29:36 +0000488-------------------------------
489
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000490=item dutmp
491
492Usage: dutmp [FILE]
493
494Dump utmp file format (pipe delimited) from FILE
495or stdin to stdout.
496
497Example:
498
499 $ dutmp /var/run/utmp
500 8|7||si|||0|0|0|955637625|760097|0
501 2|0|~|~~|reboot||0|0|0|955637625|782235|0
502 1|20020|~|~~|runlevel||0|0|0|955637625|800089|0
503 8|125||l4|||0|0|0|955637629|998367|0
504 6|245|tty1|1|LOGIN||0|0|0|955637630|998974|0
505 6|246|tty2|2|LOGIN||0|0|0|955637630|999498|0
506 7|336|pts/0|vt00andersen|andersen|:0.0|0|0|0|955637763|0|0
Pavel Roskin1a804e42000-06-21 21:38:00 +0000507
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000508-------------------------------
509
510=item echo
511
512Usage: echo [-neE] [ARG ...]
513
514Prints the specified ARGs to stdout
515
516Options:
517
518 -n suppress trailing newline
519 -e interpret backslash-escaped characters (i.e. \t=tab etc)
520 -E disable interpretation of backslash-escaped characters
521
522Example:
523
524 $ echo "Erik is cool"
525 Erik is cool
526 $ echo -e "Erik\nis\ncool"
527 Erik
528 is
529 cool
530 $ echo "Erik\nis\ncool"
531 Erik\nis\ncool
Pavel Roskin1a804e42000-06-21 21:38:00 +0000532
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000533-------------------------------
534
Eric Andersen2aa10912000-11-14 21:28:09 +0000535=item expr
Eric Andersen1b355eb2000-09-05 17:37:48 +0000536
537
538Usage: expr EXPRESSION
539
540Prints the value of EXPRESSION to standard output.
541
542EXPRESSION may be:
543
544 ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2
545 ARG1 & ARG2 ARG1 if neither argument is null or 0, otherwise 0
546 ARG1 < ARG2 ARG1 is less than ARG2
547 ARG1 <= ARG2 ARG1 is less than or equal to ARG2
548 ARG1 = ARG2 ARG1 is equal to ARG2
549 ARG1 != ARG2 ARG1 is unequal to ARG2
550 ARG1 >= ARG2 ARG1 is greater than or equal to ARG2
551 ARG1 > ARG2 ARG1 is greater than ARG2
552 ARG1 + ARG2 arithmetic sum of ARG1 and ARG2
553 ARG1 - ARG2 arithmetic difference of ARG1 and ARG2
554 ARG1 * ARG2 arithmetic product of ARG1 and ARG2
555 ARG1 / ARG2 arithmetic quotient of ARG1 divided by ARG2
556 ARG1 % ARG2 arithmetic remainder of ARG1 divided by ARG2
557 STRING : REGEXP anchored pattern match of REGEXP in STRING
558 match STRING REGEXP same as STRING : REGEXP
559 substr STRING POS LENGTH substring of STRING, POS counted from 1
560 index STRING CHARS index in STRING where any CHARS is found, or 0
561 length STRING length of STRING
562 quote TOKEN interpret TOKEN as a string, even if it is a
563 keyword like `match' or an operator like `/'
564 ( EXPRESSION ) value of EXPRESSION
565
566Beware that many operators need to be escaped or quoted for shells.
567Comparisons are arithmetic if both ARGs are numbers, else
568lexicographical. Pattern matches return the string matched between
569\( and \) or null; if \( and \) are not used, they return the number
570of characters matched or 0.
571
572-------------------------------
573
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000574=item false
575
Erik Andersen5e1189e2000-04-15 16:34:54 +0000576Returns an exit code of FALSE (1)
577
578Example:
579
580 $ false
581 $ echo $?
582 1
583
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000584-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +0000585
John Beppu46a4e762000-01-18 22:33:11 +0000586=item fbset
587
John Beppu4581b4c2000-01-19 15:04:41 +0000588Usage: fbset [options] [mode]
589
Erik Andersen62dc17a2000-04-13 01:18:23 +0000590Show and modify frame buffer device settings
591
John Beppu4581b4c2000-01-19 15:04:41 +0000592Options:
593
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000594 -h
595 -fb
596 -db
597 -a
598 -i
599 -g
600 -t
601 -accel
602 -hsync
603 -vsync
604 -laced
605 -double
John Beppu4581b4c2000-01-19 15:04:41 +0000606
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000607Example:
608
609 $ fbset
610 mode "1024x768-76"
611 # D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz
612 geometry 1024 768 1024 768 16
613 timings 12714 128 32 16 4 128 4
614 accel false
615 rgba 5/11,6/5,5/0,0/0
616 endmode
617
618-------------------------------
619
620=item fdflush
621
622Usage: fdflush device
623
624Force floppy disk drive to detect disk change
625
626-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +0000627
John Beppu46a4e762000-01-18 22:33:11 +0000628=item find
629
John Beppu4581b4c2000-01-19 15:04:41 +0000630Usage: find [PATH...] [EXPRESSION]
631
632Search for files in a directory hierarchy. The default PATH is
633the current directory; default EXPRESSION is '-print'
634
John Beppu4581b4c2000-01-19 15:04:41 +0000635
Erik Andersen62dc17a2000-04-13 01:18:23 +0000636EXPRESSION may consist of:
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000637
638 -follow Dereference symbolic links.
639 -name PATTERN File name (leading directories removed) matches PATTERN.
640 -print print the full file name followed by a newline to stdout.
Erik Andersen62dc17a2000-04-13 01:18:23 +0000641
642Example:
643
644 $ find / -name /etc/passwd
645 /etc/passwd
John Beppu4581b4c2000-01-19 15:04:41 +0000646
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000647-------------------------------
648
John Beppu46a4e762000-01-18 22:33:11 +0000649=item free
650
John Beppu4581b4c2000-01-19 15:04:41 +0000651Usage: free
652
Erik Andersen7ab9c7e2000-05-12 19:41:47 +0000653Displays the amount of free and used system memory.
Erik Andersen62dc17a2000-04-13 01:18:23 +0000654
655Example:
656
657 $ free
Erik Andersen5e1189e2000-04-15 16:34:54 +0000658 total used free shared buffers
Erik Andersen62dc17a2000-04-13 01:18:23 +0000659 Mem: 257628 248724 8904 59644 93124
660 Swap: 128516 8404 120112
661 Total: 386144 257128 129016
662
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000663-------------------------------
664
665=item freeramdisk
666
667Usage: freeramdisk DEVICE
668
Erik Andersen7ab9c7e2000-05-12 19:41:47 +0000669Frees all memory used by the specified ramdisk.
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000670
671Example:
672
673 $ freeramdisk /dev/ram2
674
675-------------------------------
Erik Andersen62dc17a2000-04-13 01:18:23 +0000676
John Beppu46a4e762000-01-18 22:33:11 +0000677=item fsck.minix
678
John Beppuf17792c2000-04-13 03:16:01 +0000679Usage: fsck.minix [B<-larvsmf>] /dev/name
John Beppu4581b4c2000-01-19 15:04:41 +0000680
681Performs a consistency check for MINIX filesystems.
682
Eric Andersen2086e3d2000-07-04 22:17:01 +0000683Options:
John Beppuf17792c2000-04-13 03:16:01 +0000684
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000685 -l Lists all filenames
686 -r Perform interactive repairs
687 -a Perform automatic repairs
688 -v verbose
689 -s Outputs super-block information
690 -m Activates MINIX-like "mode not cleared" warnings
691 -f Force file system check.
692
693-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +0000694
Eric Andersena1f16bb2000-08-21 22:02:34 +0000695=item getopt
696
697Usage: getopt [OPTIONS]...
698
699Parse command options
700
701Options:
702
703 -a, --alternative Allow long options starting with single -\n"
704 -l, --longoptions=longopts Long options to be recognized\n"
705 -n, --name=progname The name under which errors are reported\n"
706 -o, --options=optstring Short options to be recognized\n"
707 -q, --quiet Disable error reporting by getopt(3)\n"
708 -Q, --quiet-output No normal output\n"
709 -s, --shell=shell Set shell quoting conventions\n"
710 -T, --test Test for getopt(1) version\n"
711 -u, --unqote Do not quote the output\n"
712
713Example:
Eric Andersene4c4d692000-08-21 23:29:45 +0000714
Eric Andersena1f16bb2000-08-21 22:02:34 +0000715 $ cat getopt.test
716 #!/bin/sh
717 GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \
718 -n 'example.busybox' -- "$@"`
719 if [ $? != 0 ] ; then exit 1 ; fi
720 eval set -- "$GETOPT"
721 while true ; do
722 case $1 in
723 -a|--a-long) echo "Option a" ; shift ;;
724 -b|--b-long) echo "Option b, argument \`$2'" ; shift 2 ;;
725 -c|--c-long)
726 case "$2" in
727 "") echo "Option c, no argument"; shift 2 ;;
728 *) echo "Option c, argument \`$2'" ; shift 2 ;;
729 esac ;;
730 --) shift ; break ;;
731 *) echo "Internal error!" ; exit 1 ;;
732 esac
733 done
734
735
736-------------------------------
737
John Beppu46a4e762000-01-18 22:33:11 +0000738=item grep
739
Erik Andersen62dc17a2000-04-13 01:18:23 +0000740Usage: grep [OPTIONS]... PATTERN [FILE]...
John Beppu4581b4c2000-01-19 15:04:41 +0000741
Erik Andersen62dc17a2000-04-13 01:18:23 +0000742Search for PATTERN in each FILE or standard input.
743
Eric Andersen2086e3d2000-07-04 22:17:01 +0000744Options:
John Beppuf17792c2000-04-13 03:16:01 +0000745
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000746 -h suppress the prefixing filename on output
747 -i ignore case distinctions
748 -n print line number with output lines
749 -q be quiet. Returns 0 if result was found, 1 otherwise
Erik Andersena19bc642000-05-02 06:40:02 +0000750 -v select non-matching lines
Erik Andersen62dc17a2000-04-13 01:18:23 +0000751
Eric Andersen98cd53e2000-06-16 19:56:44 +0000752This version of grep matches full regular expressions.
Erik Andersen62dc17a2000-04-13 01:18:23 +0000753
Erik Andersen62dc17a2000-04-13 01:18:23 +0000754Example:
755
756 $ grep root /etc/passwd
757 root:x:0:0:root:/root:/bin/bash
758 $ grep ^[rR]oo. /etc/passwd
759 root:x:0:0:root:/root:/bin/bash
John Beppu4581b4c2000-01-19 15:04:41 +0000760
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000761-------------------------------
762
763=item gunzip
764
Erik Andersen5e1189e2000-04-15 16:34:54 +0000765Usage: gunzip [OPTION]... FILE
766
767Uncompress FILE (or standard input if FILE is '-').
768
769Options:
770
771 -c Write output to standard output
772 -t Test compressed file integrity
773
774Example:
775
Erik Andersencf8d38a2000-04-21 01:23:36 +0000776 $ ls -la /tmp/BusyBox*
777 -rw-rw-r-- 1 andersen andersen 557009 Apr 11 10:55 /tmp/BusyBox-0.43.tar.gz
778 $ gunzip /tmp/BusyBox-0.43.tar.gz
779 $ ls -la /tmp/BusyBox*
780 -rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/BusyBox-0.43.tar
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000781
782-------------------------------
783
784=item gzip
785
Erik Andersen5e1189e2000-04-15 16:34:54 +0000786Usage: gzip [OPTION]... FILE
787
788Compress FILE with maximum compression.
John Beppu9057b6a2000-04-16 10:22:28 +0000789When FILE is '-', reads standard input. Implies B<-c>.
Erik Andersen5e1189e2000-04-15 16:34:54 +0000790
791Options:
792
793 -c Write output to standard output instead of FILE.gz
Eric Andersend0fa0a12000-12-13 17:59:37 +0000794 -d decompress
Erik Andersen5e1189e2000-04-15 16:34:54 +0000795
796Example:
797
Erik Andersencf8d38a2000-04-21 01:23:36 +0000798 $ ls -la /tmp/BusyBox*
799 -rw-rw-r-- 1 andersen andersen 1761280 Apr 14 17:47 /tmp/BusyBox-0.43.tar
800 $ gzip /tmp/BusyBox-0.43.tar
801 $ ls -la /tmp/BusyBox*
802 -rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/BusyBox-0.43.tar.gz
Erik Andersen5e1189e2000-04-15 16:34:54 +0000803
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000804
805-------------------------------
806
807=item halt
808
Erik Andersen5e1189e2000-04-15 16:34:54 +0000809Usage: halt
810
Eric Andersen98cd53e2000-06-16 19:56:44 +0000811This command halts the system.
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000812
813-------------------------------
814
John Beppu46a4e762000-01-18 22:33:11 +0000815=item head
816
Erik Andersen62dc17a2000-04-13 01:18:23 +0000817Usage: head [OPTION] [FILE]...
John Beppu4581b4c2000-01-19 15:04:41 +0000818
819Print first 10 lines of each FILE to standard output.
820With more than one FILE, precede each with a header giving the
821file name. With no FILE, or when FILE is -, read standard input.
Erik Andersen62dc17a2000-04-13 01:18:23 +0000822
823Options:
John Beppuf17792c2000-04-13 03:16:01 +0000824
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000825 -n NUM Print first NUM lines instead of first 10
Erik Andersen62dc17a2000-04-13 01:18:23 +0000826
827Example:
828
829 $ head -n 2 /etc/passwd
830 root:x:0:0:root:/root:/bin/bash
831 daemon:x:1:1:daemon:/usr/sbin:/bin/sh
John Beppu4581b4c2000-01-19 15:04:41 +0000832
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000833-------------------------------
834
835=item hostid
836
Erik Andersen5e1189e2000-04-15 16:34:54 +0000837Usage: hostid
838
839Prints out a unique 32-bit identifier for the current
840machine. The 32-bit identifier is intended to be unique
841among all UNIX systems in existence.
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000842
843-------------------------------
844
John Beppu46a4e762000-01-18 22:33:11 +0000845=item hostname
846
John Beppuf17792c2000-04-13 03:16:01 +0000847Usage: hostname [OPTION] {hostname | B<-F> file}
John Beppu46a4e762000-01-18 22:33:11 +0000848
John Beppu4581b4c2000-01-19 15:04:41 +0000849Get or set the hostname or DNS domain name. If a hostname is given
John Beppuf17792c2000-04-13 03:16:01 +0000850(or a file with the B<-F> parameter), the host name will be set.
John Beppu4581b4c2000-01-19 15:04:41 +0000851
Erik Andersen62dc17a2000-04-13 01:18:23 +0000852Options:
John Beppuf17792c2000-04-13 03:16:01 +0000853
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000854 -s Short
855 -i Addresses for the hostname
856 -d DNS domain name
Eric Andersen0d5835a2000-10-12 22:30:31 +0000857 -F, --file FILE Use the contents of FILE to specify the hostname
Erik Andersen62dc17a2000-04-13 01:18:23 +0000858
859Example:
860
861 $ hostname
862 slag
John Beppu46a4e762000-01-18 22:33:11 +0000863
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000864-------------------------------
865
Erik Andersen73c8c9c2000-05-13 05:36:13 +0000866=item id
867
868Print information for USERNAME or the current user
869
870Options:
871
872 -g prints only the group ID
873 -u prints only the user ID
874 -r prints the real user ID instead of the effective ID (with -ug)
875
876Example:
877
878 $ id
879 uid=1000(andersen) gid=1000(andersen)
880
881-------------------------------
882
Erik Andersen9cf3bfa2000-04-13 18:49:43 +0000883=item init
884
Erik Andersen5e1189e2000-04-15 16:34:54 +0000885Usage: init
886
887Init is the parent of all processes.
888
889This version of init is designed to be run only by the kernel.
890
891BusyBox init doesn't support multiple runlevels. The runlevels field of
892the /etc/inittab file is completely ignored by BusyBox init. If you want
893runlevels, use sysvinit.
894
895BusyBox init works just fine without an inittab. If no inittab is found,
896it has the following default behavior:
897
898 ::sysinit:/etc/init.d/rcS
899 ::askfirst:/bin/sh
900
901if it detects that /dev/console is _not_ a serial console, it will also run:
902
903 tty2::askfirst:/bin/sh
904
905If you choose to use an /etc/inittab file, the inittab entry format is as follows:
906
907 <id>:<runlevels>:<action>:<process>
908
909 <id>:
910
911 WARNING: This field has a non-traditional meaning for BusyBox init!
912 The id field is used by BusyBox init to specify the controlling tty for
913 the specified process to run on. The contents of this field are
914 appended to "/dev/" and used as-is. There is no need for this field to
915 be unique, although if it isn't you may have strange results. If this
Eric Andersen0d2acb02000-12-18 20:36:02 +0000916 field is left blank, the controlling tty is set to the console. Also
917 note that if BusyBox detects that a serial console is in use, then only
918 entries whose controlling tty is either the serial console or /dev/null
919 will be run. BusyBox init does nothing with utmp. We don't need no
920 stinkin' utmp.
Erik Andersen5e1189e2000-04-15 16:34:54 +0000921
922 <runlevels>:
923
924 The runlevels field is completely ignored.
925
926 <action>:
927
928 Valid actions include: sysinit, respawn, askfirst, wait,
929 once, and ctrlaltdel.
930
Erik Andersen5e1189e2000-04-15 16:34:54 +0000931
Eric Anderseneb4218d2000-12-08 20:38:00 +0000932 The available actions can be classified into two groups: actions
933 that are run only once, and actions that are re-run when the specified
934 process exits.
935
936 Run only-once actions:
937
938 'sysinit' is the first item run on boot. init waits until all
939 sysinit actions are completed before continuing. Following the
940 completion of all sysinit actions, all 'wait' actions are run.
941 'wait' actions, like 'sysinit' actions, cause init to wait until
942 the specified task completes. 'once' actions are asyncronous,
943 therefore, init does not wait for them to complete. 'ctrlaltdel'
944 actions are run immediately before init causes the system to reboot
945 (unmounting filesystems with a 'ctrlaltdel' action is a very good
946 idea).
947
948 Run repeatedly actions:
949
950 'respawn' actions are run after the 'once' actions. When a process
951 started with a 'respawn' action exits, init automatically restarts
952 it. Unlike sysvinit, BusyBox init does not stop processes from
953 respawning out of control. The 'askfirst' actions acts just like
954 respawn, except that before running the specified process it
955 displays the line "Please press Enter to activate this console."
956 and then waits for the user to press enter before starting the
957 specified process.
958
959 Unrecognized actions (like initdefault) will cause init to emit an
960 error message, and then go along with its business. All actions are
961 run in the reverse order from how they appear in /etc/inittab.
Erik Andersen5e1189e2000-04-15 16:34:54 +0000962
963 <process>:
964
965 Specifies the process to be executed and it's command line.
966
967
968Example /etc/inittab file:
969
970 # This is run first except when booting in single-user mode.
971 #
972 ::sysinit:/etc/init.d/rcS
973
974 # /bin/sh invocations on selected ttys
975 #
976 # Start an "askfirst" shell on the console (whatever that may be)
Pavel Roskinc9db2e82000-09-15 17:24:13 +0000977 ::askfirst:-/bin/sh
978 # Start an "askfirst" shell on /dev/tty2-4
979 tty2::askfirst:-/bin/sh
980 tty3::askfirst:-/bin/sh
981 tty4::askfirst:-/bin/sh
Erik Andersen5e1189e2000-04-15 16:34:54 +0000982
983 # /sbin/getty invocations for selected ttys
984 #
Pavel Roskinc9db2e82000-09-15 17:24:13 +0000985 tty4::respawn:/sbin/getty 38400 tty5
986 tty5::respawn:/sbin/getty 38400 tty6
Erik Andersen5e1189e2000-04-15 16:34:54 +0000987
988
989 # Example of how to put a getty on a serial line (for a terminal)
990 #
Eric Andersen8ce85ce2000-09-26 22:20:06 +0000991 #::respawn:/sbin/getty -L ttyS0 9600 vt100
992 #::respawn:/sbin/getty -L ttyS1 9600 vt100
Erik Andersen5e1189e2000-04-15 16:34:54 +0000993 #
994 # Example how to put a getty on a modem line.
Eric Andersen8ce85ce2000-09-26 22:20:06 +0000995 #::respawn:/sbin/getty 57600 ttyS2
Erik Andersen5e1189e2000-04-15 16:34:54 +0000996
997 # Stuff to do before rebooting
Pavel Roskinc9db2e82000-09-15 17:24:13 +0000998 ::ctrlaltdel:/bin/umount -a -r
999 ::ctrlaltdel:/sbin/swapoff -a
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001000
1001-------------------------------
1002
Eric Andersenfeb47c02000-06-21 21:03:13 +00001003=item insmod
1004
1005Usage: insmod [OPTION]... MODULE [symbol=value]...
1006
1007Loads the specified kernel modules into the kernel.
1008
1009Options:
1010
1011 -f Force module to load into the wrong kernel version.
1012 -k Make module autoclean-able.
1013 -v verbose output
1014 -x do not export externs
Eric Andersen8c5cb312001-01-24 19:15:07 +00001015 -L Prevent simultaneous loads of the same module
Eric Andersenfeb47c02000-06-21 21:03:13 +00001016
1017-------------------------------
1018
John Beppu46a4e762000-01-18 22:33:11 +00001019=item kill
1020
John Beppuf17792c2000-04-13 03:16:01 +00001021Usage: kill [B<-signal>] process-id [process-id ...]
John Beppu4581b4c2000-01-19 15:04:41 +00001022
Erik Andersen62dc17a2000-04-13 01:18:23 +00001023Send a signal (default is SIGTERM) to the specified process(es).
1024
1025Options:
John Beppuf17792c2000-04-13 03:16:01 +00001026
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001027 -l List all signal names and numbers.
Erik Andersen62dc17a2000-04-13 01:18:23 +00001028
1029Example:
1030
1031 $ ps | grep apache
1032 252 root root S [apache]
1033 263 www-data www-data S [apache]
1034 264 www-data www-data S [apache]
1035 265 www-data www-data S [apache]
1036 266 www-data www-data S [apache]
1037 267 www-data www-data S [apache]
1038 $ kill 252
John Beppu4581b4c2000-01-19 15:04:41 +00001039
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001040-------------------------------
1041
1042=item killall
1043
John Beppu9057b6a2000-04-16 10:22:28 +00001044Usage: killall [B<-signal>] process-name [process-name ...]
Erik Andersen5e1189e2000-04-15 16:34:54 +00001045
1046Send a signal (default is SIGTERM) to the specified process(es).
1047
1048Options:
John Beppu9057b6a2000-04-16 10:22:28 +00001049
Erik Andersen5e1189e2000-04-15 16:34:54 +00001050 -l List all signal names and numbers.
1051
1052Example:
1053
1054 $ killall apache
1055
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001056-------------------------------
1057
1058=item length
1059
Erik Andersen7ab9c7e2000-05-12 19:41:47 +00001060Usage: length STRING
Erik Andersen5e1189e2000-04-15 16:34:54 +00001061
Erik Andersen7ab9c7e2000-05-12 19:41:47 +00001062Prints out the length of the specified STRING.
Erik Andersen5e1189e2000-04-15 16:34:54 +00001063
1064Example:
Erik Andersena19bc642000-05-02 06:40:02 +00001065
Erik Andersen5e1189e2000-04-15 16:34:54 +00001066 $ length "Hello"
1067 5
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001068
1069-------------------------------
1070
John Beppu46a4e762000-01-18 22:33:11 +00001071=item ln
1072
John Beppu4581b4c2000-01-19 15:04:41 +00001073Usage: ln [OPTION] TARGET... LINK_NAME|DIRECTORY
Erik Andersena19bc642000-05-02 06:40:02 +00001074
John Beppu4581b4c2000-01-19 15:04:41 +00001075Create a link named LINK_NAME or DIRECTORY to the specified TARGET
Eric Andersenaddc9c22000-06-21 22:53:24 +00001076You may use '--' to indicate that all following arguments are non-options.
Pavel Roskin1a804e42000-06-21 21:38:00 +00001077
John Beppu4581b4c2000-01-19 15:04:41 +00001078Options:
1079
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001080 -s make symbolic links instead of hard links
1081 -f remove existing destination files
Pavel Roskin1a804e42000-06-21 21:38:00 +00001082
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001083Example:
1084
Erik Andersencf8d38a2000-04-21 01:23:36 +00001085 $ ln -s BusyBox /tmp/ls
Erik Andersena19bc642000-05-02 06:40:02 +00001086 $ ls -l /tmp/ls
Erik Andersencf8d38a2000-04-21 01:23:36 +00001087 lrwxrwxrwx 1 root root 7 Apr 12 18:39 ls -> BusyBox*
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001088
1089-------------------------------
1090
1091=item loadacm
1092
Erik Andersen3fe7f9f2000-04-19 03:59:10 +00001093Usage: loadacm
1094
1095Loads an acm from standard input.
1096
1097Example:
1098
1099 $ loadacm < /etc/i18n/acmname
Erik Andersen5e1189e2000-04-15 16:34:54 +00001100
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001101-------------------------------
1102
1103=item loadfont
1104
Erik Andersena6c75222000-04-18 00:00:52 +00001105Usage: loadfont
1106
1107Loads a console font from standard input.
1108
Erik Andersen3fe7f9f2000-04-19 03:59:10 +00001109Example:
1110
1111 $ loadfont < /etc/i18n/fontname
Erik Andersen5e1189e2000-04-15 16:34:54 +00001112
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001113-------------------------------
1114
1115=item loadkmap
1116
Erik Andersen3fe7f9f2000-04-19 03:59:10 +00001117Usage: loadkmap
1118
1119Loads a binary keyboard translation table from standard input.
1120
1121Example:
1122
1123 $ loadkmap < /etc/i18n/lang-keymap
Erik Andersen5e1189e2000-04-15 16:34:54 +00001124
1125-------------------------------
1126
1127=item logger
1128
1129Usage: logger [OPTION]... [MESSAGE]
1130
Matt Kraai004827d2001-01-02 22:54:12 +00001131Write MESSAGE to the system log. If MESSAGE is omitted, log stdin.
Erik Andersen5e1189e2000-04-15 16:34:54 +00001132
1133Options:
1134
1135 -s Log to stderr as well as the system log.
1136 -t Log using the specified tag (defaults to user name).
1137 -p Enter the message with the specified priority.
1138 This may be numerical or a ``facility.level'' pair.
1139
1140Example:
1141
1142 $ logger "hello"
1143
1144-------------------------------
1145
1146=item logname
1147
1148Usage: logname
1149
1150Print the name of the current user.
1151
1152Example:
1153
1154 $ logname
1155 root
1156
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001157-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001158
John Beppu46a4e762000-01-18 22:33:11 +00001159=item ls
1160
Eric Andersen5b176932000-09-22 20:22:28 +00001161Usage: ls [B<-1acdelnpuxACFLR>] [filenames...]
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001162
1163Options:
1164
1165 -a do not hide entries starting with .
1166 -c with -l: show ctime (the time of last
1167 modification of file status information)
1168 -d list directory entries instead of contents
1169 -e list both full date and full time
1170 -l use a long listing format
1171 -n list numeric UIDs and GIDs instead of names
1172 -p append indicator (one of /=@|) to entries
1173 -u with -l: show access time (the time of last
1174 access of the file)
1175 -x list entries by lines instead of by columns
1176 -A do not list implied . and ..
1177 -C list entries by columns
1178 -F append indicator (one of */=@|) to entries
Eric Andersena42982e2000-06-07 17:28:53 +00001179 -R list subdirectories recursively
Eric Andersen5b176932000-09-22 20:22:28 +00001180 -L list entries pointed to by symbolic links
John Beppu50ed0672000-04-13 23:44:04 +00001181
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001182-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001183
John Beppu46a4e762000-01-18 22:33:11 +00001184=item lsmod
1185
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001186Usage: lsmod
John Beppu4581b4c2000-01-19 15:04:41 +00001187
Erik Andersen5e1189e2000-04-15 16:34:54 +00001188Shows a list of all currently loaded kernel modules.
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001189
1190-------------------------------
1191
1192=item makedevs
1193
Erik Andersen5e1189e2000-04-15 16:34:54 +00001194Usage: makedevs NAME TYPE MAJOR MINOR FIRST LAST [s]
1195
1196Creates a range of block or character special files
1197
1198TYPEs include:
1199
1200 b: Make a block (buffered) device.
1201 c or u: Make a character (un-buffered) device.
1202 p: Make a named pipe. MAJOR and MINOR are ignored for named pipes.
1203
1204FIRST specifies the number appended to NAME to create the first device.
1205LAST specifies the number of the last item that should be created.
1206If 's' is the last argument, the base device is created as well.
1207
1208Example:
1209
1210 $ makedevs /dev/ttyS c 4 66 2 63
1211 [creates ttyS2-ttyS63]
1212 $ makedevs /dev/hda b 3 0 0 8 s
1213 [creates hda,hda1-hda8]
1214
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001215-------------------------------
1216
Eric Andersen2b6ab3c2000-06-13 06:54:53 +00001217=item md5sum
1218
1219Usage: md5sum [OPTION] [file ...]
1220
1221Print or check MD5 checksums.
1222
1223Options:
1224
1225 -b read files in binary mode
1226 -c check MD5 sums against given list
1227 -t read files in text mode (default)
1228 -g read a string
1229
1230The following two options are useful only when verifying checksums:
1231
1232 -s don't output anything, status code shows success
1233 -w warn about improperly formated MD5 checksum lines
1234
1235Example:
1236
1237 $ md5sum busybox
1238 6fd11e98b98a58f64ff3398d7b324003 busybox
1239 $ md5sum -c -
1240 6fd11e98b98a58f64ff3398d7b324003 busybox
1241 busybox: OK
1242 ^D
1243
1244-------------------------------
1245
John Beppu46a4e762000-01-18 22:33:11 +00001246=item mkdir
1247
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001248Usage: mkdir [OPTION] DIRECTORY...
1249
John Beppu4581b4c2000-01-19 15:04:41 +00001250Create the DIRECTORY(ies), if they do not already exist
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001251
John Beppu4581b4c2000-01-19 15:04:41 +00001252Options:
1253
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001254 -m set permission mode (as in chmod), not rwxrwxrwx - umask
Eric Andersen98cd53e2000-06-16 19:56:44 +00001255 -p no error if directory exists, make parent directories as needed
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001256
1257Example:
1258
1259 $ mkdir /tmp/foo
1260 $ mkdir /tmp/foo
1261 /tmp/foo: File exists
1262 $ mkdir /tmp/foo/bar/baz
1263 /tmp/foo/bar/baz: No such file or directory
1264 $ mkdir -p /tmp/foo/bar/baz
1265
1266-------------------------------
1267
1268=item mkfifo
1269
Erik Andersen5e1189e2000-04-15 16:34:54 +00001270Usage: mkfifo [OPTIONS] name
1271
1272Creates a named pipe (identical to 'mknod name p')
1273
1274Options:
John Beppu9057b6a2000-04-16 10:22:28 +00001275
Erik Andersen5e1189e2000-04-15 16:34:54 +00001276 -m create the pipe using the specified mode (default a=rw)
1277
1278-------------------------------
1279
1280=item mkfs.minix
1281
1282Usage: mkfs.minix [B<-c> | B<-l> filename] [B<-nXX>] [B<-iXX>] /dev/name [blocks]
1283
1284Make a MINIX filesystem.
1285
Eric Andersen2086e3d2000-07-04 22:17:01 +00001286Options:
Erik Andersen5e1189e2000-04-15 16:34:54 +00001287
1288 -c Check the device for bad blocks
1289 -n [14|30] Specify the maximum length of filenames
1290 -i Specify the number of inodes for the filesystem
1291 -l FILENAME Read the bad blocks list from FILENAME
1292 -v Make a Minix version 2 filesystem
1293
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001294-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001295
John Beppu46a4e762000-01-18 22:33:11 +00001296=item mknod
1297
Erik Andersen5e1189e2000-04-15 16:34:54 +00001298Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001299
Erik Andersen5e1189e2000-04-15 16:34:54 +00001300Create a special file (block, character, or pipe).
1301
1302Options:
John Beppu9057b6a2000-04-16 10:22:28 +00001303
Erik Andersen5e1189e2000-04-15 16:34:54 +00001304 -m create the special file using the specified mode (default a=rw)
John Beppu4581b4c2000-01-19 15:04:41 +00001305
1306TYPEs include:
Erik Andersen5e1189e2000-04-15 16:34:54 +00001307 b: Make a block (buffered) device.
1308 c or u: Make a character (un-buffered) device.
1309 p: Make a named pipe. MAJOR and MINOR are ignored for named pipes.
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001310
1311Example:
1312
1313 $ mknod /dev/fd0 b 2 0
Erik Andersen5e1189e2000-04-15 16:34:54 +00001314 $ mknod -m 644 /tmp/pipe p
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001315
1316-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001317
John Beppu46a4e762000-01-18 22:33:11 +00001318=item mkswap
1319
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001320Usage: mkswap [B<-c>] [B<-v0>|B<-v1>] device [block-count]
1321
John Beppu4581b4c2000-01-19 15:04:41 +00001322Prepare a disk partition to be used as a swap partition.
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001323
John Beppu4581b4c2000-01-19 15:04:41 +00001324Options:
1325
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001326 -c Check for read-ability.
1327 -v0 Make version 0 swap [max 128 Megs].
1328 -v1 Make version 1 swap [big!] (default for kernels > 2.1.117).
1329 block-count Number of block to use (default is entire partition).
John Beppu50ed0672000-04-13 23:44:04 +00001330
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001331-------------------------------
1332
Erik Andersen227a59b2000-04-25 23:24:55 +00001333=item mktemp
1334
Erik Andersene31c0662000-05-02 05:32:07 +00001335Usage: mktemp [B<-q>] TEMPLATE
Erik Andersen227a59b2000-04-25 23:24:55 +00001336
1337Creates a temporary file with its name based on TEMPLATE.
1338TEMPLATE is any name with six `Xs' (i.e. /tmp/temp.XXXXXX).
1339
1340Example:
Erik Andersena19bc642000-05-02 06:40:02 +00001341
Erik Andersen227a59b2000-04-25 23:24:55 +00001342 $ mktemp /tmp/temp.XXXXXX
1343 /tmp/temp.mWiLjM
1344 $ ls -la /tmp/temp.mWiLjM
1345 -rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM
1346
1347-------------------------------
1348
John Beppu46a4e762000-01-18 22:33:11 +00001349=item more
1350
John Beppu4581b4c2000-01-19 15:04:41 +00001351Usage: more [file ...]
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001352
1353More is a filter for paging through text one screenful at a time.
1354
1355Example:
1356
1357 $ dmesg | more
John Beppu50ed0672000-04-13 23:44:04 +00001358
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001359-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001360
John Beppu46a4e762000-01-18 22:33:11 +00001361=item mount
1362
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001363Usage: mount [flags]
1364 mount [flags] device directory [B<-o> options,more-options]
John Beppu4581b4c2000-01-19 15:04:41 +00001365
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001366Flags:
John Beppu4581b4c2000-01-19 15:04:41 +00001367
Erik Andersen6c5f2c62000-05-05 19:49:33 +00001368 -a: Mount all file systems in fstab.
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001369 -o option: One of many filesystem options, listed below.
Erik Andersen6c5f2c62000-05-05 19:49:33 +00001370 -r: Mount the filesystem read-only.
1371 -t fs-type: Specify the filesystem type.
1372 -w: Mount for reading and writing (default).
John Beppu4581b4c2000-01-19 15:04:41 +00001373
Erik Andersen7ab9c7e2000-05-12 19:41:47 +00001374Options for use with the "B<-o>" flag:
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001375
Erik Andersen6c5f2c62000-05-05 19:49:33 +00001376 async/sync: Writes are asynchronous / synchronous.
1377 atime/noatime: Enable / disable updates to inode access times.
1378 dev/nodev: Allow use of special device files / disallow them.
1379 exec/noexec: Allow use of executable files / disallow them.
1380 loop: Mounts a file via loop device.
1381 suid/nosuid: Allow set-user-id-root programs / disallow them.
1382 remount: Re-mount a currently-mounted filesystem, changing its flags.
1383 ro/rw: Mount for read-only / read-write.
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001384 There are EVEN MORE flags that are specific to each filesystem.
1385 You'll have to see the written documentation for those.
1386
1387Example:
1388
1389 $ mount
1390 /dev/hda3 on / type minix (rw)
1391 proc on /proc type proc (rw)
1392 devpts on /dev/pts type devpts (rw)
1393 $ mount /dev/fd0 /mnt -t msdos -o ro
1394 $ mount /tmp/diskimage /opt -t ext2 -o loop
John Beppu50ed0672000-04-13 23:44:04 +00001395
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001396-------------------------------
1397
1398=item mt
1399
John Beppu9057b6a2000-04-16 10:22:28 +00001400Usage: mt [B<-f> device] opcode value
Erik Andersen5e1189e2000-04-15 16:34:54 +00001401
1402Control magnetic tape drive operation
1403
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001404-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001405
John Beppu46a4e762000-01-18 22:33:11 +00001406=item mv
1407
John Beppu4581b4c2000-01-19 15:04:41 +00001408Usage: mv SOURCE DEST
1409
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001410 or: mv SOURCE... DIRECTORY
John Beppu4581b4c2000-01-19 15:04:41 +00001411
1412Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY.
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001413
1414Example:
1415
1416 $ mv /tmp/foo /bin/bar
John Beppu50ed0672000-04-13 23:44:04 +00001417
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001418-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001419
Eric Andersen028fb622000-07-04 20:07:13 +00001420=item nc
1421
1422Usage: nc [IP] [port]
1423
1424Netcat opens a pipe to IP:port
1425
1426Example:
1427
1428 $ nc foobar.somedomain.com 25
1429 220 foobar ESMTP Exim 3.12 #1 Sat, 15 Apr 2000 00:03:02 -0600
1430 help
1431 214-Commands supported:
1432 214- HELO EHLO MAIL RCPT DATA AUTH
1433 214 NOOP QUIT RSET HELP
1434 quit
1435 221 foobar closing connection
1436
1437-------------------------------
1438
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001439=item nslookup
John Beppu46a4e762000-01-18 22:33:11 +00001440
Erik Andersen5e1189e2000-04-15 16:34:54 +00001441Usage: nslookup [HOST]
John Beppu4581b4c2000-01-19 15:04:41 +00001442
Erik Andersen5e1189e2000-04-15 16:34:54 +00001443Queries the nameserver for the IP address of the given HOST
1444
1445Example:
1446
1447 $ nslookup localhost
1448 Server: default
1449 Address: default
1450
1451 Name: debian
1452 Address: 127.0.0.1
John Beppu46a4e762000-01-18 22:33:11 +00001453
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001454-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001455
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001456=item ping
1457
1458Usage: ping [OPTION]... host
1459
1460Send ICMP ECHO_REQUEST packets to network hosts.
1461
1462Options:
1463
1464 -c COUNT Send only COUNT pings.
Pavel Roskin0024abc2000-06-07 20:38:15 +00001465 -s SIZE Send SIZE data bytes in packets (default=56).
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001466 -q Quiet mode, only displays output at start
1467 and when finished.
1468Example:
1469
1470 $ ping localhost
1471 PING slag (127.0.0.1): 56 data bytes
1472 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=20.1 ms
1473
1474 --- debian ping statistics ---
1475 1 packets transmitted, 1 packets received, 0% packet loss
1476 round-trip min/avg/max = 20.1/20.1/20.1 ms
1477
1478-------------------------------
1479
Erik Andersen5e1189e2000-04-15 16:34:54 +00001480=item poweroff
1481
1482Shuts down the system, and requests that the kernel turn off power upon halting.
1483
1484-------------------------------
1485
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001486=item printf
1487
Erik Andersen5e1189e2000-04-15 16:34:54 +00001488Usage: printf format [argument...]
1489
1490Formats and prints the given data in a manner similar to the C printf command.
1491
1492Example:
1493
1494 $ printf "Val=%d\n" 5
1495 Val=5
1496
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001497-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001498
John Beppu46a4e762000-01-18 22:33:11 +00001499=item ps
1500
Erik Andersen5e1189e2000-04-15 16:34:54 +00001501Usage: ps
1502
1503Report process status
1504
1505This version of ps accepts no options.
1506
1507Example:
1508
1509 $ ps
1510 PID Uid Gid State Command
1511 1 root root S init
1512 2 root root S [kflushd]
1513 3 root root S [kupdate]
1514 4 root root S [kpiod]
1515 5 root root S [kswapd]
1516 742 andersen andersen S [bash]
1517 743 andersen andersen S -bash
1518 745 root root S [getty]
1519 2990 andersen andersen R ps
1520
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001521-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001522
John Beppu46a4e762000-01-18 22:33:11 +00001523=item pwd
1524
Erik Andersen5e1189e2000-04-15 16:34:54 +00001525Prints the full filename of the current working directory.
1526
1527Example:
1528
1529 $ pwd
1530 /root
1531
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001532-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001533
Eric Andersen918507e2000-08-21 22:46:33 +00001534=item rdate
1535
1536Usage: rdate [OPTION] HOST
1537
1538Get and possibly set the system date and time from a remote HOST.
1539
1540Options:
1541
1542 -s Set the system date and time (default).
1543 -p Print the date and time.
1544
1545-------------------------------
1546
John Beppu46a4e762000-01-18 22:33:11 +00001547=item reboot
1548
Erik Andersen5e1189e2000-04-15 16:34:54 +00001549Instructs the kernel to reboot the system.
1550
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001551-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001552
Eric Andersenbf960f52000-07-21 21:32:12 +00001553=item renice
1554
1555Usage: renice priority pid [pid ...]
1556
1557Changes priority of running processes. Allowed priorities range
1558from 20 (the process runs only when nothing else is running) to 0
1559(default priority) to -20 (almost nothing else ever gets to run).
1560
1561-------------------------------
1562
Eric Andersenfa405d02000-08-21 21:18:52 +00001563=item reset
1564
1565Usage: reset
1566
1567Resets the screen.
1568
1569-------------------------------
1570
John Beppu46a4e762000-01-18 22:33:11 +00001571=item rm
1572
Erik Andersen5e1189e2000-04-15 16:34:54 +00001573Usage: rm [OPTION]... FILE...
1574
Eric Andersen815e9042000-06-06 16:15:23 +00001575Remove (unlink) the FILE(s). You may use '--' to
1576indicate that all following arguments are non-options.
Erik Andersen5e1189e2000-04-15 16:34:54 +00001577
1578Options:
1579
1580 -f remove existing destinations, never prompt
1581 -r or -R remove the contents of directories recursively
1582
1583Example:
1584
1585 $ rm -rf /tmp/foo
1586
1587-------------------------------
1588
1589=item rmdir
1590
1591Usage: rmdir [OPTION]... DIRECTORY...
1592
1593Remove the DIRECTORY(ies), if they are empty.
1594
1595Example:
1596
1597 # rmdir /tmp/foo
1598
1599-------------------------------
1600
1601=item rmmod
1602
1603Usage: rmmod [OPTION]... [MODULE]...
1604
1605Unloads the specified kernel modules from the kernel.
1606
1607Options:
1608
1609 -a Try to remove all unused kernel modules.
1610
1611Example:
1612
1613 $ rmmod tulip
1614
1615-------------------------------
1616
1617=item sed
1618
John Beppu9057b6a2000-04-16 10:22:28 +00001619Usage: sed [B<-n>] B<-e> script [file...]
Erik Andersen5e1189e2000-04-15 16:34:54 +00001620
1621Allowed sed scripts come in the following form:
1622
1623 'ADDR [!] COMMAND'
1624
1625 where address ADDR can be:
1626 NUMBER Match specified line number
1627 $ Match last line
1628 /REGEXP/ Match specified regexp
1629 (! inverts the meaning of the match)
1630
1631 and COMMAND can be:
1632 s/regexp/replacement/[igp]
1633 which attempt to match regexp against the pattern space
1634 and if successful replaces the matched portion with replacement.
1635
1636 aTEXT
1637 which appends TEXT after the pattern space
1638
1639Options:
1640
1641 -e add the script to the commands to be executed
1642 -n suppress automatic printing of pattern space
1643
Eric Andersen98cd53e2000-06-16 19:56:44 +00001644This version of sed matches full regular expressions.
Erik Andersen5e1189e2000-04-15 16:34:54 +00001645
1646Example:
1647
1648 $ echo "foo" | sed -e 's/f[a-zA-Z]o/bar/g'
1649 bar
1650
1651-------------------------------
1652
Erik Andersen4f3f7572000-04-28 00:18:56 +00001653=item setkeycodes
1654
1655Usage: setkeycodes SCANCODE KEYCODE ...
1656
1657Set entries into the kernel's scancode-to-keycode map,
1658allowing unusual keyboards to generate usable keycodes.
1659
1660SCANCODE may be either xx or e0xx (hexadecimal),
1661and KEYCODE is given in decimal
1662
1663Example:
1664
1665 # setkeycodes e030 127
1666
1667-------------------------------
1668
Eric Andersen028fb622000-07-04 20:07:13 +00001669=item sh
1670
1671Usage: sh
1672
1673lash -- the BusyBox LAme SHell (command interpreter)
1674
1675This command does not yet have proper documentation.
1676
1677Use lash just as you would use any other shell. It properly handles pipes,
1678redirects, job control, can be used as the shell for scripts (#!/bin/sh), and
1679has a sufficient set of builtins to do what is needed. It does not (yet)
1680support Bourne Shell syntax. If you need things like "if-then-else", "while",
1681and such, use ash or bash. If you just need a very simple and extremely small
1682shell, this will do the job.
1683
1684-------------------------------
1685
Erik Andersen5e1189e2000-04-15 16:34:54 +00001686=item sleep
1687
1688Usage: sleep N
1689
1690Pause for N seconds.
1691
1692Example:
1693
1694 $ sleep 2
1695 [2 second delay results]
1696
1697-------------------------------
1698
1699=item sort
1700
John Beppu9057b6a2000-04-16 10:22:28 +00001701Usage: sort [B<-n>] [B<-r>] [FILE]...
Erik Andersen5e1189e2000-04-15 16:34:54 +00001702
1703Sorts lines of text in the specified files
1704
1705Example:
1706
1707 $ echo -e "e\nf\nb\nd\nc\na" | sort
1708 a
1709 b
1710 c
1711 d
1712 e
1713 f
1714
1715-------------------------------
1716
Eric Andersen028fb622000-07-04 20:07:13 +00001717=item swapoff
1718
1719Usage: swapoff [OPTION] [device]
1720
1721Stop swapping virtual memory pages on the given device.
1722
1723Options:
1724
1725 -a Stop swapping on all swap devices
1726
1727-------------------------------
1728
1729=item swapon
1730
1731Usage: swapon [OPTION] [device]
1732
1733Start swapping virtual memory pages on the given device.
1734
1735Options:
1736
1737 -a Start swapping on all swap devices
1738
1739-------------------------------
1740
Erik Andersen5e1189e2000-04-15 16:34:54 +00001741=item sync
1742
1743Usage: sync
1744
1745Write all buffered filesystem blocks to disk.
1746
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001747-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001748
John Beppu46a4e762000-01-18 22:33:11 +00001749=item syslogd
1750
Erik Andersen5e1189e2000-04-15 16:34:54 +00001751Usage: syslogd [OPTION]...
John Beppu4581b4c2000-01-19 15:04:41 +00001752
Erik Andersen5e1189e2000-04-15 16:34:54 +00001753Linux system and kernel (provides klogd) logging utility.
1754Note that this version of syslogd/klogd ignores /etc/syslog.conf.
John Beppu4581b4c2000-01-19 15:04:41 +00001755
Erik Andersen5e1189e2000-04-15 16:34:54 +00001756Options:
Pavel Roskin049b7062000-06-07 21:19:49 +00001757
Eric Andersenbf2b8ae2000-12-08 19:52:01 +00001758 -m NUM Interval between MARK lines (default=20min, 0=off)
Pavel Roskinda10ec02000-06-07 21:08:25 +00001759 -n Run as a foreground process
1760 -K Do not start up the klogd process
Eric Andersenbf2b8ae2000-12-08 19:52:01 +00001761 -O FILE Use an alternate log file (default=/var/log/messages)
Eric Andersen70d09ed2000-12-11 16:24:16 +00001762 -R HOST[:PORT] Log remotely to IP or hostname on PORT (default PORT=514/UDP)
Eric Andersen20c2bdd2000-12-11 19:39:25 +00001763 -L Log locally as well as network logging (default is network only)
Eric Andersenced2cef2000-07-20 23:41:24 +00001764
1765Example:
1766
1767 $ syslogd -R masterlog:514
1768 $ syslogd -R 192.168.1.1:601
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001769
1770-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001771
John Beppu46a4e762000-01-18 22:33:11 +00001772=item tail
1773
Erik Andersen5e1189e2000-04-15 16:34:54 +00001774Usage: tail [OPTION] [FILE]...
1775
1776Print last 10 lines of each FILE to standard output.
1777With more than one FILE, precede each with a header giving the
1778file name. With no FILE, or when FILE is -, read standard input.
1779
1780Options:
1781
1782 -n NUM Print last NUM lines instead of first 10
1783 -f Output data as the file grows. This version
1784 of 'tail -f' supports only one file at a time.
1785
1786Example:
1787
1788 $ tail -n 1 /etc/resolv.conf
1789 nameserver 10.0.0.1
1790
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001791-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001792
John Beppu46a4e762000-01-18 22:33:11 +00001793=item tar
1794
John Beppu9057b6a2000-04-16 10:22:28 +00001795Usage: tar -[cxtvO] [B<--exclude> File] [B<-f> tarFile] [FILE] ...
Erik Andersen5e1189e2000-04-15 16:34:54 +00001796
1797Create, extract, or list files from a tar file. Note that
1798this version of tar treats hard links as separate files.
1799
1800Main operation mode:
1801
1802 c create
1803 x extract
1804 t list
1805
1806File selection:
1807
1808 f name of tarfile or "-" for stdin
1809 O extract to stdout
Eric Andersenfdd51032000-08-02 18:48:26 +00001810 exclude file to exclude
Erik Andersen5e1189e2000-04-15 16:34:54 +00001811
1812Informative output:
1813
1814 v verbosely list files processed
1815
1816Example:
1817
1818 $ zcat /tmp/tarball.tar.gz | tar -xf -
1819 $ tar -cf /tmp/tarball.tar /usr/local
1820
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001821-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001822
Eric Andersen028fb622000-07-04 20:07:13 +00001823=item tee
1824
1825Usage: tee [OPTION]... [FILE]...
1826
1827Copy standard input to each FILE, and also to standard output.
1828
1829Options:
1830
1831 -a append to the given FILEs, do not overwrite
1832
1833Example:
1834
1835 $ echo "Hello" | tee /tmp/foo
1836 $ cat /tmp/foo
1837 Hello
1838
1839-------------------------------
1840
1841=item telnet
1842
1843Usage: telnet host [port]
1844
1845Telnet is used to establish interactive communication with another
1846computer over a network using the TELNET protocol.
1847
1848-------------------------------
1849
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001850=item test, [
1851
Erik Andersen5e1189e2000-04-15 16:34:54 +00001852Usage: test EXPRESSION
1853or [ EXPRESSION ]
1854
1855Checks file types and compares values returning an exit
1856code determined by the value of EXPRESSION.
1857
1858Example:
1859
1860 $ test 1 -eq 2
1861 $ echo $?
1862 1
1863 $ test 1 -eq 1
1864 $ echo $?
1865 0
1866 $ [ -d /etc ]
1867 $ echo $?
1868 0
1869 $ [ -d /junk ]
1870 $ echo $?
1871 1
1872
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001873-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001874
John Beppu46a4e762000-01-18 22:33:11 +00001875=item touch
1876
John Beppu9057b6a2000-04-16 10:22:28 +00001877Usage: touch [B<-c>] file [file ...]
Erik Andersen5e1189e2000-04-15 16:34:54 +00001878
1879Update the last-modified date on (or create) the selected file[s].
1880
1881Example:
1882
1883 $ ls -l /tmp/foo
1884 /bin/ls: /tmp/foo: No such file or directory
1885 $ touch /tmp/foo
1886 $ ls -l /tmp/foo
1887 -rw-rw-r-- 1 andersen andersen 0 Apr 15 01:11 /tmp/foo
1888
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001889-------------------------------
1890
1891=item tr
Erik Andersena19bc642000-05-02 06:40:02 +00001892
Erik Andersen3c1217c2000-05-01 22:34:24 +00001893Usage: tr [-cds] STRING1 [STRING2]
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001894
Erik Andersen3c1217c2000-05-01 22:34:24 +00001895Translate, squeeze, and/or delete characters from
1896standard input, writing to standard output.
Erik Andersen5e1189e2000-04-15 16:34:54 +00001897
Erik Andersen3c1217c2000-05-01 22:34:24 +00001898Options:
1899
1900 -c take complement of STRING1
1901 -d delete input characters coded STRING1
1902 -s squeeze multiple output characters of STRING2 into one character
Erik Andersen5e1189e2000-04-15 16:34:54 +00001903
1904Example:
1905
1906 $ echo "gdkkn vnqkc" | tr [a-y] [b-z]
1907 hello world
1908
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001909-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001910
John Beppu46a4e762000-01-18 22:33:11 +00001911=item true
1912
Erik Andersen5e1189e2000-04-15 16:34:54 +00001913Returns an exit code of TRUE (0)
1914
1915Example:
1916
1917 $ true
1918 $ echo $?
1919 0
1920
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001921-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001922
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001923=item tty
John Beppu4581b4c2000-01-19 15:04:41 +00001924
Erik Andersene5b6c7d2000-04-17 16:16:10 +00001925Usage: tty
1926
1927Print the file name of the terminal connected to standard input.
1928
1929Options:
1930
1931 -s print nothing, only return an exit status
1932
1933Example:
1934
1935 $ tty
1936 /dev/tty2
Erik Andersen5e1189e2000-04-15 16:34:54 +00001937
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001938-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001939
John Beppu46a4e762000-01-18 22:33:11 +00001940=item umount
1941
Erik Andersene5b6c7d2000-04-17 16:16:10 +00001942Usage: umount [flags] filesystem|directory
1943
1944Flags:
1945
Erik Andersen6c5f2c62000-05-05 19:49:33 +00001946 -a: Unmount all file systems
1947 -r: Try to remount devices as read-only if mount is busy
1948 -f: Force filesystem umount (i.e. unreachable NFS server)
1949 -l: Do not free loop device (if a loop device has been used)
Erik Andersene5b6c7d2000-04-17 16:16:10 +00001950
1951Example:
1952
1953 $ umount /dev/hdc1
Erik Andersen5e1189e2000-04-15 16:34:54 +00001954
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001955-------------------------------
John Beppuf17792c2000-04-13 03:16:01 +00001956
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001957=item uname
John Beppuf17792c2000-04-13 03:16:01 +00001958
Erik Andersene5b6c7d2000-04-17 16:16:10 +00001959Usage: uname [OPTION]...
1960
Erik Andersen26702fe2000-04-17 16:44:46 +00001961Print certain system information. With no OPTION, same as B<-s>.
Erik Andersene5b6c7d2000-04-17 16:16:10 +00001962
1963Options:
1964
1965 -a print all information
1966 -m the machine (hardware) type
1967 -n print the machine's network node hostname
1968 -r print the operating system release
1969 -s print the operating system name
1970 -p print the host processor type
1971 -v print the operating system version
1972
1973Example:
1974
1975 $ uname -a
1976 Linux debian 2.2.15pre13 #5 Tue Mar 14 16:03:50 MST 2000 i686 unknown
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00001977
1978-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00001979
John Beppu46a4e762000-01-18 22:33:11 +00001980=item uniq
1981
Erik Andersene5b6c7d2000-04-17 16:16:10 +00001982Usage: uniq [OPTION]... [INPUT [OUTPUT]]
1983
1984Discard all but one of successive identical lines from INPUT
1985(or standard input), writing to OUTPUT (or standard output).
Eric Andersen5b5db382000-12-09 16:37:53 +00001986
1987Options:
1988
1989 -c prefix lines by the number of occurrences
1990 -d only print duplicate lines
1991 -u only print unique lines
Erik Andersene5b6c7d2000-04-17 16:16:10 +00001992
1993Example:
1994
1995 $ echo -e "a\na\nb\nc\nc\na" | sort | uniq
1996 a
1997 b
1998 c
Erik Andersen5e1189e2000-04-15 16:34:54 +00001999
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00002000-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00002001
Eric Andersencff3fe32000-09-20 19:22:26 +00002002=item unix2dos
2003
2004Usage: unix2dos < unixfile > dosfile
2005
2006Converts a text file from unix format to dos format.
2007
2008-------------------------------
2009
2010=item unrpm
2011
Eric Andersen350b3f92000-09-21 02:06:35 +00002012Usage: unrpm < package.rpm | gzip B<-d> | cpio -idmuv
Eric Andersencff3fe32000-09-20 19:22:26 +00002013
2014Extracts an rpm archive.
2015
2016-------------------------------
2017
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00002018=item update
John Beppu4581b4c2000-01-19 15:04:41 +00002019
Erik Andersene5b6c7d2000-04-17 16:16:10 +00002020Usage: update [options]
2021
2022Periodically flushes filesystem buffers.
2023
2024Options:
2025
2026 -S force use of sync(2) instead of flushing
2027 -s SECS call sync this often (default 30)
2028 -f SECS flush some buffers this often (default 5)
Erik Andersen5e1189e2000-04-15 16:34:54 +00002029
2030-------------------------------
2031
2032=item uptime
2033
Erik Andersene5b6c7d2000-04-17 16:16:10 +00002034Usage: uptime
2035
2036Tells how long the system has been running since boot.
2037
2038Example:
2039
2040 $ uptime
2041 1:55pm up 2:30, load average: 0.09, 0.04, 0.00
Erik Andersen5e1189e2000-04-15 16:34:54 +00002042
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00002043-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00002044
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00002045=item usleep
2046
Erik Andersene5b6c7d2000-04-17 16:16:10 +00002047Usage: usleep N
2048
2049Pauses for N microseconds.
2050
2051Example:
2052
2053 $ usleep 1000000
2054 [pauses for 1 second]
Erik Andersen5e1189e2000-04-15 16:34:54 +00002055
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00002056-------------------------------
2057
Eric Andersen028fb622000-07-04 20:07:13 +00002058=item uuencode
2059
2060Usage: uuencode [OPTION] [INFILE] REMOTEFILE
2061
2062Uuencode a file.
2063
2064Options:
2065
2066 -m use base64 encoding as of RFC1521
2067
2068Example:
2069
2070 $ uuencode busybox busybox
2071 begin 755 busybox
2072 M?T5,1@$!`0````````````(``P`!````L+@$"#0```!0N@,``````#0`(``&
2073 .....
2074 $ uudecode busybox busybox > busybox.uu
2075 $
2076
2077-------------------------------
2078
2079=item uudecode
2080
2081Usage: uudecode [OPTION] [FILE]
2082
2083Uudecode a uuencoded file
2084
2085Options:
2086
2087 -o FILE direct output to FILE
2088
2089Example:
2090
2091 $ uudecode -o busybox busybox.uu
2092 $ ls -l busybox
2093 -rwxr-xr-x 1 ams ams 245264 Jun 7 21:35 busybox
2094
2095-------------------------------
2096
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00002097=item wc
2098
Erik Andersene5b6c7d2000-04-17 16:16:10 +00002099Usage: wc [OPTION]... [FILE]...
2100
2101Print line, word, and byte counts for each FILE, and a total line if
2102more than one FILE is specified. With no FILE, read standard input.
2103
2104Options:
2105
2106 -c print the byte counts
2107 -l print the newline counts
2108 -L print the length of the longest line
2109 -w print the word counts
2110
2111Example:
2112
2113 $ wc /etc/passwd
2114 31 46 1365 /etc/passwd
Erik Andersen5e1189e2000-04-15 16:34:54 +00002115
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00002116-------------------------------
2117
Pavel Roskinafa06622000-06-21 21:43:24 +00002118=item which
2119
2120Usage: which [COMMAND ...]
2121
2122Locates a COMMAND.
2123
2124Example:
2125
2126 $ which login
2127 /bin/login
2128
2129-------------------------------
2130
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00002131=item whoami
2132
Erik Andersene5b6c7d2000-04-17 16:16:10 +00002133Usage: whoami
2134
2135Prints the user name associated with the current effective user id.
2136
2137Example:
2138
2139 $ whoami
2140 andersen
Erik Andersen5e1189e2000-04-15 16:34:54 +00002141
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00002142-------------------------------
2143
Eric Andersen5b176932000-09-22 20:22:28 +00002144=item xargs
2145
2146Usage: xargs [OPTIONS] [COMMAND] [ARGS...]
2147
2148Executes COMMAND on every item given by standard input.
2149
2150Options:
2151
2152 -t Print the command just before it is run
Eric Andersen5b176932000-09-22 20:22:28 +00002153
2154Example:
2155
2156 $ ls | xargs gzip
2157 $ find . -name '*.c' -print | xargs rm
2158
2159-------------------------------
2160
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00002161=item yes
2162
Erik Andersene5b6c7d2000-04-17 16:16:10 +00002163Usage: yes [OPTION]... [STRING]...
2164
2165Repeatedly outputs a line with all specified STRING(s), or `y'.
Erik Andersen5e1189e2000-04-15 16:34:54 +00002166
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00002167-------------------------------
John Beppu46a4e762000-01-18 22:33:11 +00002168
2169=item zcat
2170
Erik Andersen26702fe2000-04-17 16:44:46 +00002171This is essentially an alias for invoking "gunzip B<-c>", where
Eric Andersen98cd53e2000-06-16 19:56:44 +00002172it decompresses the file in question and send the output to stdout.
Erik Andersen5e1189e2000-04-15 16:34:54 +00002173
Erik Andersen9cf3bfa2000-04-13 18:49:43 +00002174-------------------------------
John Beppu4581b4c2000-01-19 15:04:41 +00002175
John Beppu46a4e762000-01-18 22:33:11 +00002176=back
John Beppu3a1b6be2000-01-18 15:45:59 +00002177
Erik Andersena19bc642000-05-02 06:40:02 +00002178=head1 LIBC NSS
2179
2180GNU Libc uses the Name Service Switch (NSS) to configure the behavior of the C
2181library for the local environment, and to configure how it reads system data,
2182such as passwords and group information. BusyBox has made it Policy that it
2183will never use NSS, and will never use and libc calls that make use of NSS.
2184This allows you to run an embedded system without the need for installing an
2185/etc/nsswitch.conf file and without and /lib/libnss_* libraries installed.
2186
2187If you are using a system that is using a remote LDAP server for authentication
2188via GNU libc NSS, and you want to use BusyBox, then you will need to adjust the
2189BusyBox source. Chances are though, that if you have enough space to install
2190of that stuff on your system, then you probably want the full GNU utilities.
2191
John Beppu3a1b6be2000-01-18 15:45:59 +00002192=head1 SEE ALSO
2193
2194textutils(1), shellutils(1), etc...
2195
2196=head1 MAINTAINER
2197
Erik Andersen1101d232000-04-19 05:15:12 +00002198Erik Andersen <andersee@debian.org> <andersen@lineo.com>
John Beppu3a1b6be2000-01-18 15:45:59 +00002199
2200=head1 AUTHORS
2201
John Beppu08fe43d2000-01-19 12:39:16 +00002202The following people have contributed code to BusyBox whether
2203they know it or not.
John Beppu3a1b6be2000-01-18 15:45:59 +00002204
John Beppu3a1b6be2000-01-18 15:45:59 +00002205
John Beppu08fe43d2000-01-19 12:39:16 +00002206=for html <br>
John Beppu46a4e762000-01-18 22:33:11 +00002207
Eric Andersen57f83ff2000-09-24 02:41:44 +00002208Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
2209
2210 Tons of new stuff, major rewrite of most of the
2211 core apps, tons of new apps as noted in header files.
2212
2213=for html <br>
2214
2215Edward Betts <edward@debian.org>
2216
2217 expr, hostid, logname, tty, wc, whoami, yes
2218
2219=for html <br>
2220
John Beppu08fe43d2000-01-19 12:39:16 +00002221John Beppu <beppu@lineo.com>
John Beppu3a1b6be2000-01-18 15:45:59 +00002222
Eric Andersen57f83ff2000-09-24 02:41:44 +00002223 du, head, nslookup, sort, tee, uniq
2224
John Beppu08fe43d2000-01-19 12:39:16 +00002225=for html <br>
John Beppu46a4e762000-01-18 22:33:11 +00002226
John Beppu08fe43d2000-01-19 12:39:16 +00002227Brian Candler <B.Candler@pobox.com>
John Beppu3a1b6be2000-01-18 15:45:59 +00002228
Eric Andersen57f83ff2000-09-24 02:41:44 +00002229 tiny-ls(ls)
2230
John Beppu08fe43d2000-01-19 12:39:16 +00002231=for html <br>
John Beppu46a4e762000-01-18 22:33:11 +00002232
John Beppu08fe43d2000-01-19 12:39:16 +00002233Randolph Chung <tausq@debian.org>
John Beppu3a1b6be2000-01-18 15:45:59 +00002234
Eric Andersen57f83ff2000-09-24 02:41:44 +00002235 fbset, ping, hostname, and mkfifo
2236
John Beppu08fe43d2000-01-19 12:39:16 +00002237=for html <br>
John Beppu46a4e762000-01-18 22:33:11 +00002238
John Beppu08fe43d2000-01-19 12:39:16 +00002239Dave Cinege <dcinege@psychosis.com>
2240
Eric Andersen57f83ff2000-09-24 02:41:44 +00002241 more(v2), makedevs, dutmp, modularization, auto links file,
2242 various fixes, Linux Router Project maintenance
2243
John Beppu08fe43d2000-01-19 12:39:16 +00002244=for html <br>
2245
John Beppu50ed0672000-04-13 23:44:04 +00002246Karl M. Hegbloom <karlheg@debian.org>
2247
Eric Andersen57f83ff2000-09-24 02:41:44 +00002248 cp_mv.c, the test suite, various fixes to utility.c, &c.
2249
2250=for html <br>
2251
2252Daniel Jacobowitz <dan@debian.org>
2253
2254 mktemp.c
2255
2256=for html <br>
2257
2258Matt Kraai <kraai@alumni.carnegiemellon.edu>
2259
2260 documentation, bugfixes
2261
John Beppu50ed0672000-04-13 23:44:04 +00002262=for html <br>
2263
John Beppu4fd10fc2000-04-17 05:13:59 +00002264John Lombardo <john@deltanet.com>
2265
Eric Andersen57f83ff2000-09-24 02:41:44 +00002266 dirname, tr
2267
John Beppu4fd10fc2000-04-17 05:13:59 +00002268=for html <br>
2269
Eric Andersen86ab8a32000-06-02 03:21:42 +00002270Glenn McGrath <bug1@netconnect.com.au>
2271
Eric Andersen57f83ff2000-09-24 02:41:44 +00002272 ar.c
2273
Eric Andersen86ab8a32000-06-02 03:21:42 +00002274=for html <br>
2275
Eric Andersen57f83ff2000-09-24 02:41:44 +00002276Bruce Perens <bruce@pixar.com>
2277
2278 Original author of BusyBox. His code is still in many apps.
2279
2280=for html <br>
2281
2282Chip Rosenthal <chip@unicom.com>, <crosenth@covad.com>
2283
2284 wget - Contributed by permission of Covad Communications
John Beppu08fe43d2000-01-19 12:39:16 +00002285
2286=for html <br>
2287
Pavel Roskin339b8922000-06-20 00:11:07 +00002288Pavel Roskin <proski@gnu.org>
Eric Andersen08e92892000-06-02 03:21:36 +00002289
Eric Andersen57f83ff2000-09-24 02:41:44 +00002290 Lots of bugs fixes and patches.
2291
2292=for html <br>
2293
2294Gyepi Sam <gyepi@praxis-sw.com>
2295
2296 Remote logging feature for syslogd
2297
Eric Andersen08e92892000-06-02 03:21:36 +00002298=for html <br>
2299
John Beppu08fe43d2000-01-19 12:39:16 +00002300Linus Torvalds <torvalds@transmeta.com>
2301
Eric Andersen57f83ff2000-09-24 02:41:44 +00002302 mkswap, fsck.minix, mkfs.minix
2303
John Beppu08fe43d2000-01-19 12:39:16 +00002304=for html <br>
2305
John Beppu2aee9932000-09-15 08:04:42 +00002306Mark Whitley <markw@lineo.com>
2307
Eric Andersen57f83ff2000-09-24 02:41:44 +00002308 sed remix, bug fixes, style-guide, etc.
2309
John Beppu2aee9932000-09-15 08:04:42 +00002310=for html <br>
2311
John Beppu08fe43d2000-01-19 12:39:16 +00002312Charles P. Wright <cpwright@villagenet.com>
2313
Eric Andersen57f83ff2000-09-24 02:41:44 +00002314 gzip, mini-netcat(nc)
2315
John Beppu08fe43d2000-01-19 12:39:16 +00002316=for html <br>
2317
2318Enrique Zanardi <ezanardi@ull.es>
2319
Eric Andersen57f83ff2000-09-24 02:41:44 +00002320 tarcat (since removed), loadkmap, various fixes, Debian maintenance
John Beppu3a1b6be2000-01-18 15:45:59 +00002321
2322=cut
John Beppu08fe43d2000-01-19 12:39:16 +00002323
Eric Andersen8c5cb312001-01-24 19:15:07 +00002324# $Id: busybox.pod,v 1.87 2001/01/24 19:15:07 andersen Exp $