aboutsummaryrefslogtreecommitdiff
path: root/docs/busybox.pod
diff options
context:
space:
mode:
Diffstat (limited to 'docs/busybox.pod')
-rw-r--r--docs/busybox.pod274
1 files changed, 137 insertions, 137 deletions
diff --git a/docs/busybox.pod b/docs/busybox.pod
index 5c2c59054..d1d6f7efd 100644
--- a/docs/busybox.pod
+++ b/docs/busybox.pod
@@ -237,12 +237,6 @@ Example:
237 237
238------------------------------- 238-------------------------------
239 239
240=item clear
241
242Clears the screen.
243
244-------------------------------
245
246=item chvt 240=item chvt
247 241
248Usage: chvt N 242Usage: chvt N
@@ -251,6 +245,12 @@ Changes the foreground virtual terminal to /dev/ttyN
251 245
252------------------------------- 246-------------------------------
253 247
248=item clear
249
250Clears the screen.
251
252-------------------------------
253
254=item cp 254=item cp
255 255
256Usage: cp [OPTION]... SOURCE DEST 256Usage: cp [OPTION]... SOURCE DEST
@@ -363,6 +363,14 @@ Example:
363 363
364------------------------------- 364-------------------------------
365 365
366=item deallocvt
367
368Usage: deallocvt N
369
370Deallocates unused virtual terminal /dev/ttyN
371
372-------------------------------
373
366=item df 374=item df
367 375
368Usage: df [filesystem ...] 376Usage: df [filesystem ...]
@@ -580,14 +588,6 @@ Example:
580 588
581------------------------------- 589-------------------------------
582 590
583=item deallocvt
584
585Usage: deallocvt N
586
587Deallocates unused virtual terminal /dev/ttyN
588
589-------------------------------
590
591=item fsck.minix 591=item fsck.minix
592 592
593Usage: fsck.minix [B<-larvsmf>] /dev/name 593Usage: fsck.minix [B<-larvsmf>] /dev/name
@@ -1187,25 +1187,6 @@ Example:
1187 1187
1188------------------------------- 1188-------------------------------
1189 1189
1190=item nc
1191
1192Usage: nc [IP] [port]
1193
1194Netcat opens a pipe to IP:port
1195
1196Example:
1197
1198 $ nc foobar.somedomain.com 25
1199 220 foobar ESMTP Exim 3.12 #1 Sat, 15 Apr 2000 00:03:02 -0600
1200 help
1201 214-Commands supported:
1202 214- HELO EHLO MAIL RCPT DATA AUTH
1203 214 NOOP QUIT RSET HELP
1204 quit
1205 221 foobar closing connection
1206
1207-------------------------------
1208
1209=item more 1190=item more
1210 1191
1211Usage: more [file ...] 1192Usage: more [file ...]
@@ -1277,6 +1258,25 @@ Example:
1277 1258
1278------------------------------- 1259-------------------------------
1279 1260
1261=item nc
1262
1263Usage: nc [IP] [port]
1264
1265Netcat opens a pipe to IP:port
1266
1267Example:
1268
1269 $ nc foobar.somedomain.com 25
1270 220 foobar ESMTP Exim 3.12 #1 Sat, 15 Apr 2000 00:03:02 -0600
1271 help
1272 214-Commands supported:
1273 214- HELO EHLO MAIL RCPT DATA AUTH
1274 214 NOOP QUIT RSET HELP
1275 quit
1276 221 foobar closing connection
1277
1278-------------------------------
1279
1280=item nslookup 1280=item nslookup
1281 1281
1282Usage: nslookup [HOST] 1282Usage: nslookup [HOST]
@@ -1476,23 +1476,6 @@ Example:
1476 1476
1477------------------------------- 1477-------------------------------
1478 1478
1479=item sh
1480
1481Usage: sh
1482
1483lash -- the BusyBox LAme SHell (command interpreter)
1484
1485This command does not yet have proper documentation.
1486
1487Use lash just as you would use any other shell. It properly handles pipes,
1488redirects, job control, can be used as the shell for scripts (#!/bin/sh), and
1489has a sufficient set of builtins to do what is needed. It does not (yet)
1490support Bourne Shell syntax. If you need things like "if-then-else", "while",
1491and such, use ash or bash. If you just need a very simple and extremely small
1492shell, this will do the job.
1493
1494-------------------------------
1495
1496=item sfdisk 1479=item sfdisk
1497 1480
1498Usage: sfdisk [options] device ... 1481Usage: sfdisk [options] device ...
@@ -1536,6 +1519,23 @@ You can disable all consistency checking with:
1536 1519
1537------------------------------- 1520-------------------------------
1538 1521
1522=item sh
1523
1524Usage: sh
1525
1526lash -- the BusyBox LAme SHell (command interpreter)
1527
1528This command does not yet have proper documentation.
1529
1530Use lash just as you would use any other shell. It properly handles pipes,
1531redirects, job control, can be used as the shell for scripts (#!/bin/sh), and
1532has a sufficient set of builtins to do what is needed. It does not (yet)
1533support Bourne Shell syntax. If you need things like "if-then-else", "while",
1534and such, use ash or bash. If you just need a very simple and extremely small
1535shell, this will do the job.
1536
1537-------------------------------
1538
1539=item sleep 1539=item sleep
1540 1540
1541Usage: sleep N 1541Usage: sleep N
@@ -1567,27 +1567,15 @@ Example:
1567 1567
1568------------------------------- 1568-------------------------------
1569 1569
1570=item sync 1570=item swapoff
1571
1572Usage: sync
1573
1574Write all buffered filesystem blocks to disk.
1575
1576-------------------------------
1577
1578=item syslogd
1579 1571
1580Usage: syslogd [OPTION]... 1572Usage: swapoff [OPTION] [device]
1581 1573
1582Linux system and kernel (provides klogd) logging utility. 1574Stop swapping virtual memory pages on the given device.
1583Note that this version of syslogd/klogd ignores /etc/syslog.conf.
1584 1575
1585Options: 1576Options:
1586 1577
1587 -m NUM Interval between MARK lines (default=20min, 0=off) 1578 -a Stop swapping on all swap devices
1588 -n Run as a foreground process
1589 -K Do not start up the klogd process
1590 -O FILE Use an alternate log file (default=/var/log/messages)
1591 1579
1592------------------------------- 1580-------------------------------
1593 1581
@@ -1603,15 +1591,27 @@ Options:
1603 1591
1604------------------------------- 1592-------------------------------
1605 1593
1606=item swapoff 1594=item sync
1607 1595
1608Usage: swapoff [OPTION] [device] 1596Usage: sync
1609 1597
1610Stop swapping virtual memory pages on the given device. 1598Write all buffered filesystem blocks to disk.
1599
1600-------------------------------
1601
1602=item syslogd
1603
1604Usage: syslogd [OPTION]...
1605
1606Linux system and kernel (provides klogd) logging utility.
1607Note that this version of syslogd/klogd ignores /etc/syslog.conf.
1611 1608
1612Options: 1609Options:
1613 1610
1614 -a Stop swapping on all swap devices 1611 -m NUM Interval between MARK lines (default=20min, 0=off)
1612 -n Run as a foreground process
1613 -K Do not start up the klogd process
1614 -O FILE Use an alternate log file (default=/var/log/messages)
1615 1615
1616------------------------------- 1616-------------------------------
1617 1617
@@ -1666,28 +1666,21 @@ Example:
1666 1666
1667------------------------------- 1667-------------------------------
1668 1668
1669=item test, [ 1669=item tee
1670 1670
1671Usage: test EXPRESSION 1671Usage: tee [OPTION]... [FILE]...
1672or [ EXPRESSION ]
1673 1672
1674Checks file types and compares values returning an exit 1673Copy standard input to each FILE, and also to standard output.
1675code determined by the value of EXPRESSION. 1674
1675Options:
1676
1677 -a append to the given FILEs, do not overwrite
1676 1678
1677Example: 1679Example:
1678 1680
1679 $ test 1 -eq 2 1681 $ echo "Hello" | tee /tmp/foo
1680 $ echo $? 1682 $ cat /tmp/foo
1681 1 1683 Hello
1682 $ test 1 -eq 1
1683 $ echo $?
1684 0
1685 $ [ -d /etc ]
1686 $ echo $?
1687 0
1688 $ [ -d /junk ]
1689 $ echo $?
1690 1
1691 1684
1692------------------------------- 1685-------------------------------
1693 1686
@@ -1700,21 +1693,28 @@ computer over a network using the TELNET protocol.
1700 1693
1701------------------------------- 1694-------------------------------
1702 1695
1703=item tee 1696=item test, [
1704
1705Usage: tee [OPTION]... [FILE]...
1706
1707Copy standard input to each FILE, and also to standard output.
1708 1697
1709Options: 1698Usage: test EXPRESSION
1699or [ EXPRESSION ]
1710 1700
1711 -a append to the given FILEs, do not overwrite 1701Checks file types and compares values returning an exit
1702code determined by the value of EXPRESSION.
1712 1703
1713Example: 1704Example:
1714 1705
1715 $ echo "Hello" | tee /tmp/foo 1706 $ test 1 -eq 2
1716 $ cat /tmp/foo 1707 $ echo $?
1717 Hello 1708 1
1709 $ test 1 -eq 1
1710 $ echo $?
1711 0
1712 $ [ -d /etc ]
1713 $ echo $?
1714 0
1715 $ [ -d /junk ]
1716 $ echo $?
1717 1
1718 1718
1719------------------------------- 1719-------------------------------
1720 1720
@@ -1783,45 +1783,6 @@ Example:
1783 1783
1784------------------------------- 1784-------------------------------
1785 1785
1786=item uuencode
1787
1788Usage: uuencode [OPTION] [INFILE] REMOTEFILE
1789
1790Uuencode a file.
1791
1792Options:
1793
1794 -m use base64 encoding as of RFC1521
1795
1796Example:
1797
1798 $ uuencode busybox busybox
1799 begin 755 busybox
1800 M?T5,1@$!`0````````````(``P`!````L+@$"#0```!0N@,``````#0`(``&
1801 .....
1802 $ uudecode busybox busybox > busybox.uu
1803 $
1804
1805-------------------------------
1806
1807=item uudecode
1808
1809Usage: uudecode [OPTION] [FILE]
1810
1811Uudecode a uuencoded file
1812
1813Options:
1814
1815 -o FILE direct output to FILE
1816
1817Example:
1818
1819 $ uudecode -o busybox busybox.uu
1820 $ ls -l busybox
1821 -rwxr-xr-x 1 ams ams 245264 Jun 7 21:35 busybox
1822
1823-------------------------------
1824
1825=item umount 1786=item umount
1826 1787
1827Usage: umount [flags] filesystem|directory 1788Usage: umount [flags] filesystem|directory
@@ -1918,6 +1879,45 @@ Example:
1918 1879
1919------------------------------- 1880-------------------------------
1920 1881
1882=item uuencode
1883
1884Usage: uuencode [OPTION] [INFILE] REMOTEFILE
1885
1886Uuencode a file.
1887
1888Options:
1889
1890 -m use base64 encoding as of RFC1521
1891
1892Example:
1893
1894 $ uuencode busybox busybox
1895 begin 755 busybox
1896 M?T5,1@$!`0````````````(``P`!````L+@$"#0```!0N@,``````#0`(``&
1897 .....
1898 $ uudecode busybox busybox > busybox.uu
1899 $
1900
1901-------------------------------
1902
1903=item uudecode
1904
1905Usage: uudecode [OPTION] [FILE]
1906
1907Uudecode a uuencoded file
1908
1909Options:
1910
1911 -o FILE direct output to FILE
1912
1913Example:
1914
1915 $ uudecode -o busybox busybox.uu
1916 $ ls -l busybox
1917 -rwxr-xr-x 1 ams ams 245264 Jun 7 21:35 busybox
1918
1919-------------------------------
1920
1921=item wc 1921=item wc
1922 1922
1923Usage: wc [OPTION]... [FILE]... 1923Usage: wc [OPTION]... [FILE]...
@@ -2063,4 +2063,4 @@ Enrique Zanardi <ezanardi@ull.es>
2063 2063
2064=cut 2064=cut
2065 2065
2066# $Id: busybox.pod,v 1.52 2000/06/26 12:14:30 andersen Exp $ 2066# $Id: busybox.pod,v 1.53 2000/07/04 20:07:13 andersen Exp $