diff options
Diffstat (limited to 'docs/busybox.pod')
-rw-r--r-- | docs/busybox.pod | 274 |
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 | |||
242 | Clears the screen. | ||
243 | |||
244 | ------------------------------- | ||
245 | |||
246 | =item chvt | 240 | =item chvt |
247 | 241 | ||
248 | Usage: chvt N | 242 | Usage: chvt N |
@@ -251,6 +245,12 @@ Changes the foreground virtual terminal to /dev/ttyN | |||
251 | 245 | ||
252 | ------------------------------- | 246 | ------------------------------- |
253 | 247 | ||
248 | =item clear | ||
249 | |||
250 | Clears the screen. | ||
251 | |||
252 | ------------------------------- | ||
253 | |||
254 | =item cp | 254 | =item cp |
255 | 255 | ||
256 | Usage: cp [OPTION]... SOURCE DEST | 256 | Usage: cp [OPTION]... SOURCE DEST |
@@ -363,6 +363,14 @@ Example: | |||
363 | 363 | ||
364 | ------------------------------- | 364 | ------------------------------- |
365 | 365 | ||
366 | =item deallocvt | ||
367 | |||
368 | Usage: deallocvt N | ||
369 | |||
370 | Deallocates unused virtual terminal /dev/ttyN | ||
371 | |||
372 | ------------------------------- | ||
373 | |||
366 | =item df | 374 | =item df |
367 | 375 | ||
368 | Usage: df [filesystem ...] | 376 | Usage: df [filesystem ...] |
@@ -580,14 +588,6 @@ Example: | |||
580 | 588 | ||
581 | ------------------------------- | 589 | ------------------------------- |
582 | 590 | ||
583 | =item deallocvt | ||
584 | |||
585 | Usage: deallocvt N | ||
586 | |||
587 | Deallocates unused virtual terminal /dev/ttyN | ||
588 | |||
589 | ------------------------------- | ||
590 | |||
591 | =item fsck.minix | 591 | =item fsck.minix |
592 | 592 | ||
593 | Usage: fsck.minix [B<-larvsmf>] /dev/name | 593 | Usage: fsck.minix [B<-larvsmf>] /dev/name |
@@ -1187,25 +1187,6 @@ Example: | |||
1187 | 1187 | ||
1188 | ------------------------------- | 1188 | ------------------------------- |
1189 | 1189 | ||
1190 | =item nc | ||
1191 | |||
1192 | Usage: nc [IP] [port] | ||
1193 | |||
1194 | Netcat opens a pipe to IP:port | ||
1195 | |||
1196 | Example: | ||
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 | ||
1211 | Usage: more [file ...] | 1192 | Usage: more [file ...] |
@@ -1277,6 +1258,25 @@ Example: | |||
1277 | 1258 | ||
1278 | ------------------------------- | 1259 | ------------------------------- |
1279 | 1260 | ||
1261 | =item nc | ||
1262 | |||
1263 | Usage: nc [IP] [port] | ||
1264 | |||
1265 | Netcat opens a pipe to IP:port | ||
1266 | |||
1267 | Example: | ||
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 | ||
1282 | Usage: nslookup [HOST] | 1282 | Usage: nslookup [HOST] |
@@ -1476,23 +1476,6 @@ Example: | |||
1476 | 1476 | ||
1477 | ------------------------------- | 1477 | ------------------------------- |
1478 | 1478 | ||
1479 | =item sh | ||
1480 | |||
1481 | Usage: sh | ||
1482 | |||
1483 | lash -- the BusyBox LAme SHell (command interpreter) | ||
1484 | |||
1485 | This command does not yet have proper documentation. | ||
1486 | |||
1487 | Use lash just as you would use any other shell. It properly handles pipes, | ||
1488 | redirects, job control, can be used as the shell for scripts (#!/bin/sh), and | ||
1489 | has a sufficient set of builtins to do what is needed. It does not (yet) | ||
1490 | support Bourne Shell syntax. If you need things like "if-then-else", "while", | ||
1491 | and such, use ash or bash. If you just need a very simple and extremely small | ||
1492 | shell, this will do the job. | ||
1493 | |||
1494 | ------------------------------- | ||
1495 | |||
1496 | =item sfdisk | 1479 | =item sfdisk |
1497 | 1480 | ||
1498 | Usage: sfdisk [options] device ... | 1481 | Usage: sfdisk [options] device ... |
@@ -1536,6 +1519,23 @@ You can disable all consistency checking with: | |||
1536 | 1519 | ||
1537 | ------------------------------- | 1520 | ------------------------------- |
1538 | 1521 | ||
1522 | =item sh | ||
1523 | |||
1524 | Usage: sh | ||
1525 | |||
1526 | lash -- the BusyBox LAme SHell (command interpreter) | ||
1527 | |||
1528 | This command does not yet have proper documentation. | ||
1529 | |||
1530 | Use lash just as you would use any other shell. It properly handles pipes, | ||
1531 | redirects, job control, can be used as the shell for scripts (#!/bin/sh), and | ||
1532 | has a sufficient set of builtins to do what is needed. It does not (yet) | ||
1533 | support Bourne Shell syntax. If you need things like "if-then-else", "while", | ||
1534 | and such, use ash or bash. If you just need a very simple and extremely small | ||
1535 | shell, this will do the job. | ||
1536 | |||
1537 | ------------------------------- | ||
1538 | |||
1539 | =item sleep | 1539 | =item sleep |
1540 | 1540 | ||
1541 | Usage: sleep N | 1541 | Usage: sleep N |
@@ -1567,27 +1567,15 @@ Example: | |||
1567 | 1567 | ||
1568 | ------------------------------- | 1568 | ------------------------------- |
1569 | 1569 | ||
1570 | =item sync | 1570 | =item swapoff |
1571 | |||
1572 | Usage: sync | ||
1573 | |||
1574 | Write all buffered filesystem blocks to disk. | ||
1575 | |||
1576 | ------------------------------- | ||
1577 | |||
1578 | =item syslogd | ||
1579 | 1571 | ||
1580 | Usage: syslogd [OPTION]... | 1572 | Usage: swapoff [OPTION] [device] |
1581 | 1573 | ||
1582 | Linux system and kernel (provides klogd) logging utility. | 1574 | Stop swapping virtual memory pages on the given device. |
1583 | Note that this version of syslogd/klogd ignores /etc/syslog.conf. | ||
1584 | 1575 | ||
1585 | Options: | 1576 | Options: |
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 | ||
1608 | Usage: swapoff [OPTION] [device] | 1596 | Usage: sync |
1609 | 1597 | ||
1610 | Stop swapping virtual memory pages on the given device. | 1598 | Write all buffered filesystem blocks to disk. |
1599 | |||
1600 | ------------------------------- | ||
1601 | |||
1602 | =item syslogd | ||
1603 | |||
1604 | Usage: syslogd [OPTION]... | ||
1605 | |||
1606 | Linux system and kernel (provides klogd) logging utility. | ||
1607 | Note that this version of syslogd/klogd ignores /etc/syslog.conf. | ||
1611 | 1608 | ||
1612 | Options: | 1609 | Options: |
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 | ||
1671 | Usage: test EXPRESSION | 1671 | Usage: tee [OPTION]... [FILE]... |
1672 | or [ EXPRESSION ] | ||
1673 | 1672 | ||
1674 | Checks file types and compares values returning an exit | 1673 | Copy standard input to each FILE, and also to standard output. |
1675 | code determined by the value of EXPRESSION. | 1674 | |
1675 | Options: | ||
1676 | |||
1677 | -a append to the given FILEs, do not overwrite | ||
1676 | 1678 | ||
1677 | Example: | 1679 | Example: |
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 | |||
1705 | Usage: tee [OPTION]... [FILE]... | ||
1706 | |||
1707 | Copy standard input to each FILE, and also to standard output. | ||
1708 | 1697 | ||
1709 | Options: | 1698 | Usage: test EXPRESSION |
1699 | or [ EXPRESSION ] | ||
1710 | 1700 | ||
1711 | -a append to the given FILEs, do not overwrite | 1701 | Checks file types and compares values returning an exit |
1702 | code determined by the value of EXPRESSION. | ||
1712 | 1703 | ||
1713 | Example: | 1704 | Example: |
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 | |||
1788 | Usage: uuencode [OPTION] [INFILE] REMOTEFILE | ||
1789 | |||
1790 | Uuencode a file. | ||
1791 | |||
1792 | Options: | ||
1793 | |||
1794 | -m use base64 encoding as of RFC1521 | ||
1795 | |||
1796 | Example: | ||
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 | |||
1809 | Usage: uudecode [OPTION] [FILE] | ||
1810 | |||
1811 | Uudecode a uuencoded file | ||
1812 | |||
1813 | Options: | ||
1814 | |||
1815 | -o FILE direct output to FILE | ||
1816 | |||
1817 | Example: | ||
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 | ||
1827 | Usage: umount [flags] filesystem|directory | 1788 | Usage: umount [flags] filesystem|directory |
@@ -1918,6 +1879,45 @@ Example: | |||
1918 | 1879 | ||
1919 | ------------------------------- | 1880 | ------------------------------- |
1920 | 1881 | ||
1882 | =item uuencode | ||
1883 | |||
1884 | Usage: uuencode [OPTION] [INFILE] REMOTEFILE | ||
1885 | |||
1886 | Uuencode a file. | ||
1887 | |||
1888 | Options: | ||
1889 | |||
1890 | -m use base64 encoding as of RFC1521 | ||
1891 | |||
1892 | Example: | ||
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 | |||
1905 | Usage: uudecode [OPTION] [FILE] | ||
1906 | |||
1907 | Uudecode a uuencoded file | ||
1908 | |||
1909 | Options: | ||
1910 | |||
1911 | -o FILE direct output to FILE | ||
1912 | |||
1913 | Example: | ||
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 | ||
1923 | Usage: wc [OPTION]... [FILE]... | 1923 | Usage: 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 $ |