More doc updates
-Erik
This commit is contained in:
parent
5331025f79
commit
028fb625f5
282
docs/busybox.pod
282
docs/busybox.pod
@ -237,12 +237,6 @@ Example:
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
=item clear
|
|
||||||
|
|
||||||
Clears the screen.
|
|
||||||
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
=item chvt
|
=item chvt
|
||||||
|
|
||||||
Usage: chvt N
|
Usage: chvt N
|
||||||
@ -251,6 +245,12 @@ Changes the foreground virtual terminal to /dev/ttyN
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
|
=item clear
|
||||||
|
|
||||||
|
Clears the screen.
|
||||||
|
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
=item cp
|
=item cp
|
||||||
|
|
||||||
Usage: cp [OPTION]... SOURCE DEST
|
Usage: cp [OPTION]... SOURCE DEST
|
||||||
@ -363,6 +363,14 @@ Example:
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
|
=item deallocvt
|
||||||
|
|
||||||
|
Usage: deallocvt N
|
||||||
|
|
||||||
|
Deallocates unused virtual terminal /dev/ttyN
|
||||||
|
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
=item df
|
=item df
|
||||||
|
|
||||||
Usage: df [filesystem ...]
|
Usage: df [filesystem ...]
|
||||||
@ -580,14 +588,6 @@ Example:
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
=item deallocvt
|
|
||||||
|
|
||||||
Usage: deallocvt N
|
|
||||||
|
|
||||||
Deallocates unused virtual terminal /dev/ttyN
|
|
||||||
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
=item fsck.minix
|
=item fsck.minix
|
||||||
|
|
||||||
Usage: fsck.minix [B<-larvsmf>] /dev/name
|
Usage: fsck.minix [B<-larvsmf>] /dev/name
|
||||||
@ -1187,25 +1187,6 @@ Example:
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
=item nc
|
|
||||||
|
|
||||||
Usage: nc [IP] [port]
|
|
||||||
|
|
||||||
Netcat opens a pipe to IP:port
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
$ nc foobar.somedomain.com 25
|
|
||||||
220 foobar ESMTP Exim 3.12 #1 Sat, 15 Apr 2000 00:03:02 -0600
|
|
||||||
help
|
|
||||||
214-Commands supported:
|
|
||||||
214- HELO EHLO MAIL RCPT DATA AUTH
|
|
||||||
214 NOOP QUIT RSET HELP
|
|
||||||
quit
|
|
||||||
221 foobar closing connection
|
|
||||||
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
=item more
|
=item more
|
||||||
|
|
||||||
Usage: more [file ...]
|
Usage: more [file ...]
|
||||||
@ -1277,6 +1258,25 @@ Example:
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
|
=item nc
|
||||||
|
|
||||||
|
Usage: nc [IP] [port]
|
||||||
|
|
||||||
|
Netcat opens a pipe to IP:port
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
$ nc foobar.somedomain.com 25
|
||||||
|
220 foobar ESMTP Exim 3.12 #1 Sat, 15 Apr 2000 00:03:02 -0600
|
||||||
|
help
|
||||||
|
214-Commands supported:
|
||||||
|
214- HELO EHLO MAIL RCPT DATA AUTH
|
||||||
|
214 NOOP QUIT RSET HELP
|
||||||
|
quit
|
||||||
|
221 foobar closing connection
|
||||||
|
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
=item nslookup
|
=item nslookup
|
||||||
|
|
||||||
Usage: nslookup [HOST]
|
Usage: nslookup [HOST]
|
||||||
@ -1476,23 +1476,6 @@ Example:
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
=item sh
|
|
||||||
|
|
||||||
Usage: sh
|
|
||||||
|
|
||||||
lash -- the BusyBox LAme SHell (command interpreter)
|
|
||||||
|
|
||||||
This command does not yet have proper documentation.
|
|
||||||
|
|
||||||
Use lash just as you would use any other shell. It properly handles pipes,
|
|
||||||
redirects, job control, can be used as the shell for scripts (#!/bin/sh), and
|
|
||||||
has a sufficient set of builtins to do what is needed. It does not (yet)
|
|
||||||
support Bourne Shell syntax. If you need things like "if-then-else", "while",
|
|
||||||
and such, use ash or bash. If you just need a very simple and extremely small
|
|
||||||
shell, this will do the job.
|
|
||||||
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
=item sfdisk
|
=item sfdisk
|
||||||
|
|
||||||
Usage: sfdisk [options] device ...
|
Usage: sfdisk [options] device ...
|
||||||
@ -1536,6 +1519,23 @@ You can disable all consistency checking with:
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
|
=item sh
|
||||||
|
|
||||||
|
Usage: sh
|
||||||
|
|
||||||
|
lash -- the BusyBox LAme SHell (command interpreter)
|
||||||
|
|
||||||
|
This command does not yet have proper documentation.
|
||||||
|
|
||||||
|
Use lash just as you would use any other shell. It properly handles pipes,
|
||||||
|
redirects, job control, can be used as the shell for scripts (#!/bin/sh), and
|
||||||
|
has a sufficient set of builtins to do what is needed. It does not (yet)
|
||||||
|
support Bourne Shell syntax. If you need things like "if-then-else", "while",
|
||||||
|
and such, use ash or bash. If you just need a very simple and extremely small
|
||||||
|
shell, this will do the job.
|
||||||
|
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
=item sleep
|
=item sleep
|
||||||
|
|
||||||
Usage: sleep N
|
Usage: sleep N
|
||||||
@ -1567,6 +1567,30 @@ Example:
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
|
=item swapoff
|
||||||
|
|
||||||
|
Usage: swapoff [OPTION] [device]
|
||||||
|
|
||||||
|
Stop swapping virtual memory pages on the given device.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
|
||||||
|
-a Stop swapping on all swap devices
|
||||||
|
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
|
=item swapon
|
||||||
|
|
||||||
|
Usage: swapon [OPTION] [device]
|
||||||
|
|
||||||
|
Start swapping virtual memory pages on the given device.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
|
||||||
|
-a Start swapping on all swap devices
|
||||||
|
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
=item sync
|
=item sync
|
||||||
|
|
||||||
Usage: sync
|
Usage: sync
|
||||||
@ -1591,30 +1615,6 @@ Options:
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
=item swapon
|
|
||||||
|
|
||||||
Usage: swapon [OPTION] [device]
|
|
||||||
|
|
||||||
Start swapping virtual memory pages on the given device.
|
|
||||||
|
|
||||||
Options:
|
|
||||||
|
|
||||||
-a Start swapping on all swap devices
|
|
||||||
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
=item swapoff
|
|
||||||
|
|
||||||
Usage: swapoff [OPTION] [device]
|
|
||||||
|
|
||||||
Stop swapping virtual memory pages on the given device.
|
|
||||||
|
|
||||||
Options:
|
|
||||||
|
|
||||||
-a Stop swapping on all swap devices
|
|
||||||
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
=item tail
|
=item tail
|
||||||
|
|
||||||
Usage: tail [OPTION] [FILE]...
|
Usage: tail [OPTION] [FILE]...
|
||||||
@ -1666,6 +1666,33 @@ Example:
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
|
=item tee
|
||||||
|
|
||||||
|
Usage: tee [OPTION]... [FILE]...
|
||||||
|
|
||||||
|
Copy standard input to each FILE, and also to standard output.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
|
||||||
|
-a append to the given FILEs, do not overwrite
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
$ echo "Hello" | tee /tmp/foo
|
||||||
|
$ cat /tmp/foo
|
||||||
|
Hello
|
||||||
|
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
|
=item telnet
|
||||||
|
|
||||||
|
Usage: telnet host [port]
|
||||||
|
|
||||||
|
Telnet is used to establish interactive communication with another
|
||||||
|
computer over a network using the TELNET protocol.
|
||||||
|
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
=item test, [
|
=item test, [
|
||||||
|
|
||||||
Usage: test EXPRESSION
|
Usage: test EXPRESSION
|
||||||
@ -1691,33 +1718,6 @@ Example:
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
=item telnet
|
|
||||||
|
|
||||||
Usage: telnet host [port]
|
|
||||||
|
|
||||||
Telnet is used to establish interactive communication with another
|
|
||||||
computer over a network using the TELNET protocol.
|
|
||||||
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
=item tee
|
|
||||||
|
|
||||||
Usage: tee [OPTION]... [FILE]...
|
|
||||||
|
|
||||||
Copy standard input to each FILE, and also to standard output.
|
|
||||||
|
|
||||||
Options:
|
|
||||||
|
|
||||||
-a append to the given FILEs, do not overwrite
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
$ echo "Hello" | tee /tmp/foo
|
|
||||||
$ cat /tmp/foo
|
|
||||||
Hello
|
|
||||||
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
=item touch
|
=item touch
|
||||||
|
|
||||||
Usage: touch [B<-c>] file [file ...]
|
Usage: touch [B<-c>] file [file ...]
|
||||||
@ -1783,45 +1783,6 @@ Example:
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
=item uuencode
|
|
||||||
|
|
||||||
Usage: uuencode [OPTION] [INFILE] REMOTEFILE
|
|
||||||
|
|
||||||
Uuencode a file.
|
|
||||||
|
|
||||||
Options:
|
|
||||||
|
|
||||||
-m use base64 encoding as of RFC1521
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
$ uuencode busybox busybox
|
|
||||||
begin 755 busybox
|
|
||||||
M?T5,1@$!`0````````````(``P`!````L+@$"#0```!0N@,``````#0`(``&
|
|
||||||
.....
|
|
||||||
$ uudecode busybox busybox > busybox.uu
|
|
||||||
$
|
|
||||||
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
=item uudecode
|
|
||||||
|
|
||||||
Usage: uudecode [OPTION] [FILE]
|
|
||||||
|
|
||||||
Uudecode a uuencoded file
|
|
||||||
|
|
||||||
Options:
|
|
||||||
|
|
||||||
-o FILE direct output to FILE
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
$ uudecode -o busybox busybox.uu
|
|
||||||
$ ls -l busybox
|
|
||||||
-rwxr-xr-x 1 ams ams 245264 Jun 7 21:35 busybox
|
|
||||||
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
=item umount
|
=item umount
|
||||||
|
|
||||||
Usage: umount [flags] filesystem|directory
|
Usage: umount [flags] filesystem|directory
|
||||||
@ -1918,6 +1879,45 @@ Example:
|
|||||||
|
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
|
=item uuencode
|
||||||
|
|
||||||
|
Usage: uuencode [OPTION] [INFILE] REMOTEFILE
|
||||||
|
|
||||||
|
Uuencode a file.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
|
||||||
|
-m use base64 encoding as of RFC1521
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
$ uuencode busybox busybox
|
||||||
|
begin 755 busybox
|
||||||
|
M?T5,1@$!`0````````````(``P`!````L+@$"#0```!0N@,``````#0`(``&
|
||||||
|
.....
|
||||||
|
$ uudecode busybox busybox > busybox.uu
|
||||||
|
$
|
||||||
|
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
|
=item uudecode
|
||||||
|
|
||||||
|
Usage: uudecode [OPTION] [FILE]
|
||||||
|
|
||||||
|
Uudecode a uuencoded file
|
||||||
|
|
||||||
|
Options:
|
||||||
|
|
||||||
|
-o FILE direct output to FILE
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
$ uudecode -o busybox busybox.uu
|
||||||
|
$ ls -l busybox
|
||||||
|
-rwxr-xr-x 1 ams ams 245264 Jun 7 21:35 busybox
|
||||||
|
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
=item wc
|
=item wc
|
||||||
|
|
||||||
Usage: wc [OPTION]... [FILE]...
|
Usage: wc [OPTION]... [FILE]...
|
||||||
@ -2063,4 +2063,4 @@ Enrique Zanardi <ezanardi@ull.es>
|
|||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
# $Id: busybox.pod,v 1.52 2000/06/26 12:14:30 andersen Exp $
|
# $Id: busybox.pod,v 1.53 2000/07/04 20:07:13 andersen Exp $
|
||||||
|
1339
docs/busybox.sgml
1339
docs/busybox.sgml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user